cvs commit: nhc98/src/compiler98 GcodeLow.hs Prim.hs PrimCode.hs

5 Oct
2004
5 Oct
'04
2:54 p.m.
malcolm 2004/10/05 11:54:14 PDT Modified files: src/compiler98 GcodeLow.hs Prim.hs PrimCode.hs Log: The default definition of (**) in class Floating loses precision. In particular, many calculations incorrectly have result NaN. The fix is to use the C library function pow() instead, and hook it into nhc98 as a new bytecode instruction. Revision Changes Path 1.9 +1 -0 nhc98/src/compiler98/GcodeLow.hs 1.3 +2 -0 nhc98/src/compiler98/Prim.hs 1.10 +2 -0 nhc98/src/compiler98/PrimCode.hs
7537
Age (days ago)
7537
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace