News for hackers. Stuff that matters.
Re:Beware of Fast-Math by rendaw on Saturday May 31, 2025 @01:06PM (#44145594)
Isn't fixed point just integer?
Re:Beware of Fast-Math by Athas on Saturday May 31, 2025 @01:27PM (#44145743)
Yes, but you're not going to have efficient transcendental functions implemented in hardware.
Re:Beware of Fast-Math by rendaw on Saturday May 31, 2025 @01:39PM (#44145800)
Ah okay, fair enough. But what sort of transcendental functions would you use for HFT?

I guess I understood GGGGP's comment about using fixed point for interacting with currency to be about accounting. I'd expect floating point to be used for trading algorithms, but that's mostly statistics and I presume you'd switch back to fixed point before making trades etc.

Re:Beware of Fast-Math by mitthrowaway2 on Saturday May 31, 2025 @01:20PM (#44145695)
Yes, integer combined with bit-shifts.