[GiNaC-list] Floating to Rational

Charles White whitece6 at hawaii.edu
Wed Jul 19 06:55:17 CEST 2023


Hi GiNaC!
Is there a way to convert floating point numbers  to rational numbers? And,
expressions with floating point numbers to expressions with rational
numbers? wxmaxima has the function "rationalize"; I did notice there is a
rationalize
<https://www.ginac.de/CLN/cln.html#Conversion-to-rational-numbers> function
in the CLN library; is that what I should work with?

Thanks!
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-list/attachments/20230718/32210a50/attachment.htm>


More information about the GiNaC-list mailing list