John Cowan wrote:
> It probably notices that 1/3 is the reciprocal of an integer, and applies
> an exact method.  (expt 27 2/3) returns 8.999999999999998.
>
>   
"C:\Documents and Settings\Ben Goetter\My 
Documents\gambit64\v4.4.2\bin\gsi.exe"
Gambit v4.4.2
 > (expt 27 1/3)
3
 > (expt 27 2/3)
9
 > (exact? (expt 27 2/3))
#t

Yes, it's common for Schemes to coerce all non-simple cases to a flonum 
and call the CRT pow().  Gambit's numerical rigor is one of its charms.

Ben

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to