It is perhaps official CIAO mailing list policy to be overpolite and cautious in its response, but I am not one of the CIAO officials, so I can butt in like an elephant in a porcelano shop ...
Do yourself a favour for life and get www.wldelft.nl/soft/d3d/misc/goldberg.pdf (the title is "What Every Computer Scientist Should Know About Floating-Point Arithmetic") and read it until you understand half of it;
and do (on a linux system - but there must be an equivalent windows thing, or of there isn't, tell me and I will send you the man page):
man fprintf
I would not have told this to someone in psychology using Prolog, but since you are in a reputed Department of Computing Science, I felt this was the correct advice (pass it on to your student :-)
Cheers
Bart Demoen ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------