Menu

#5 assignment problems,SOURCE MISSING

open
nobody
Math Engine (6)
5
2004-01-20
2004-01-20
No

When assigning to the same MathFP instance, the
content isn't preserved
f.e.
MathFP n = new MathFP(1); // n == 1
n.set(n); // n is zero

This causes serious problems when constructing general
LR-parser by JACC. Assignment must be checked against
identity, so the code is larger.

Also SOURCE IS MISSING, so I spend 4 hours catching
the bug. Someone would have also to lighten the code,
it's important when developing for CLDC.

Discussion


Log in to post a comment.