
5 Oct
2004
5 Oct
'04
2:54 p.m.
malcolm 2004/10/05 11:54:16 PDT Modified files: src/runtime/Kernel dump.c inscount.c mutator.c 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.4 +2 -0 nhc98/src/runtime/Kernel/dump.c 1.4 +4 -0 nhc98/src/runtime/Kernel/inscount.c 1.18 +26 -1 nhc98/src/runtime/Kernel/mutator.c