Rob's going to hate me... (Remainder bug)

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

Heh, twice in a week, lol
? remainder(100,0.01)
gives 0.01 and I am sure that's not supposed to happen
This is reproducable with all numbers <= 0.2
for some reason, all numbers > .2 work as they should.
Also, this only affects numbers which are cleanly divisable.
? remainder(100.001,0.01) returns 0.001 as it should

Running Euphoria 2.4

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

Search



Quick Links

User menu

Not signed in.

Misc Menu