[CLN-list] floating point error
Richard B. Kreckel
kreckel at ginac.de
Tue Jul 12 00:04:10 CEST 2005
On Mon, 4 Jul 2005, Elvis Dieguez wrote:
[...]
> I've looked at the cln documentation and it appears
>
> |float_format_t default_float_format|
>
> Global variable: the default float format used when converting
> rational numbers to floats.
>
>
> there is a way but I do not quite understand how one might change the
> default precision.
Try a simple assignment statement in your code:
default_float_format = float_format_t(1000);
Regards
-richy.
--
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>
More information about the CLN-list
mailing list