Post Reply 
newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
08-23-2017, 11:29 PM (This post was last modified: 08-23-2017 11:56 PM by The Shadow.)
Post: #53
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-11]
Another bug, this time apparently in LN.

At 32 bit precision, LN x gives a number in excess of 9.89E9 when x < 0.1.

At 64 bit precision, the same problem happens when x < 0.01.

Interestingly, the PC emulator gives an entirely different wonky value, but it's still wonky.

EDIT: Out of curiosity, when the time comes to do RAND, what's your plan? I've implemented a simple 32 bit xorshift routine, which is good enough for most of my needs. But I know that better and faster things can be done natively in C.

It's a bit annoying that one can't set a 64 bit word size, but such is life.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-11] - The Shadow - 08-23-2017 11:29 PM



User(s) browsing this thread: 2 Guest(s)