There are two interesting questions about the 1926/100 example. (1) Why are there extra digits at the end? (A1.1) Because floating-point arithmetic is imprecise. (A1.2) Because the default behaviour is to show answers quite precisely. (Note: it is IMPORTANT to be able to write out a floating point number, read it back, and get the *SAME* number you started with. At one time Quintus Prolog got that wrong, VERY embarrassing. The Scheme standards actually require write/read round-tripping.) (2) Why are the extra digits at the end DIFFERENT from what one gets from C? (A2.1) Idunno, why ARE they different? ============================================================================== 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/ -----------------------------------------------------------------------------