top | item 46947457

(no title)

alberto-m | 21 days ago

> one could make the case for true being all bits set

Historical note: this was the case in QBasic, where true was defined as -1.

discuss

order

Joker_vD|21 days ago

There, apparently, were quite a number of ISAs where checking the sign bit was more convenient (performant?) than checking (in)equality with zero.

jabl|20 days ago

Some Fortran compilers also did this. MS Powerstation Fortran at least, IIRC.