News for hackers. Stuff that matters.
Re:Signed Integers Are Two’s Complement by jovial_cavalier on Wednesday May 30, 2018 @11:49PM (#17193807)
Is there a good way to represent floating points in order to do complement arithmetic?
Re:Signed Integers Are Two’s Complement by garmaine on Wednesday May 30, 2018 @11:56PM (#17193828)
Re:Signed Integers Are Two’s Complement by dbaupp on Thursday May 31, 2018 @12:02AM (#17193851)
JS is IEEE754, not a (one's or two's) complement-based representation.
Re:Signed Integers Are Two’s Complement by garmaine on Thursday May 31, 2018 @04:04PM (#17199700)
Ah I misunderstood the question.
Re:Signed Integers Are Two’s Complement by hamiltonkibbe on Thursday May 31, 2018 @12:38AM (#17193997)
If you know a bit about the range you need to support you could use a fixed point representation