News for hackers. Stuff that matters.
Re:One does not simply calculate the absolute value by kurthr on Sunday August 22, 2021 @02:49PM (#28268297)
And don't forget complex numbers or higher dimensionality.
Re:One does not simply calculate the absolute value by Koshkin on Sunday August 22, 2021 @08:08PM (#28270960)
The complex numbers and quaternions are still represented using floating point numbers.
Re:One does not simply calculate the absolute value by kurthr on Sunday August 22, 2021 @11:37PM (#28272106)
Yeah, I'm aware, but you need to accurately compute abs/magnitude, which presents its own complexities. Including exponentials, it's highly related to the non-trivial accurate computation of trigonometric functions of floats.