News for hackers. Stuff that matters.
Re:One does not simply calculate the absolute value by Const-me on Monday August 23, 2021 @06:55AM (#28274161)
PC processors have bitwise instructions processing floats.

When I need absolute value, I usually do it like that in C++:

    return _mm_andnot_pd( _mm_set1_pd( -0.0 ), vec );

There are no comments on this comment yet.