Sol Robots

Crossword Forge iota-calc Quiz Press Road Trip Effect Save Benjis

32 bit bitwise and

Submit any bugs for iota-calc here. This includes any typos, unexpected behavior, crashes or hangs. You can also submit these to help AT solrobots.com.

Be sure to include the iota-calc version number, which Operating System you are using (e.g. Mac OX, Windows Vista) and any other pertinent information. Once an item has been fixed it will be removed from this forum.

Moderator: cortis

32 bit bitwise and

Postby s71ck » September 29th, 2009, 9:19 pm

there seems to be a bug when bitwise and-ing two 32 bit numbers like
Code: Select all
xffffffff & xffffffff

gives
x80000000 output

when it should be xffffffff
s71ck
 
Posts: 2
Joined: September 29th, 2009, 9:09 pm

Re: 32 bit bitwise and

Postby cortis » September 30th, 2009, 10:18 am

It looks like you've run into an overflow issue here. Unfortunately iota-calc is stuck using signed 32bit numbers for many of its operations, and can only compute the & operator up to x7fffffff. Ideally we would like to add support for at least unsigned 32bit numbers or better yet 64bit and beyond. Unfortunately I can't promise when (or if) that will happen.
cortis
 
Posts: 209
Joined: July 8th, 2008, 5:33 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest