Bug in Eu2.0. Has it been carried through to the 2.1alpha?

new topic     » topic index » view thread      » older message » newer message

I discovered this while implementing some of Gabrial Boehme's suggestions,
and generally revamping (again) my math(s) libraries:

-- DOS32/WIN32 dependant:
global constant
    Accuracy = 15,-- decimal places
    Epsilon  = power(10, -Accuracy)

? Accuracy
? Epsilon

Output:

15
1 [!! Should be 1e-15!]

It's easily solvable in code (just add another "global constant" and
remove the comma), but it's a funny little bug... //\Oo/\\ :)

Carl

--
Carl R White -- Final Year Computer Science at the University of Bradford
E-mail........: cyrek- at -bigfoot.com -- Remove hyphens. Ta :)
URL...........: http://www.bigfoot.com/~cyrek/
Uncrackable...: "19.6A.23.38.52.73.45 25.31.1C 3C.53.44.39.58"

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu