[mercury-users] Printing reasonable floats?

Julian Fondren ayrnieu at gmail.com
Mon Feb 12 04:09:16 AEDT 2007


Ah, sorry, you can replace all of that C with:

:- mutable(float_precision, precision, 15, ground, [untrailed,
attach_to_io_state]).

-- the rest of the code will work the same.

Cheers,
Julian
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list