Re:One does not simply calculate the absolute value
by togaen on Sunday August 22, 2021 @05:43PM
(#28269940)
Easy solution: switch to C++, use std::copysign
[ Parent
| on HN ]
Re:One does not simply calculate the absolute value
by DerekL on Sunday August 22, 2021 @08:05PM
(#28270942)
Yes, using an existing implementation is a good idea, but why not just use std::abs?
Re:One does not simply calculate the absolute value
by ChrisLomont on Sunday August 22, 2021 @09:29PM
(#28271465)
Because, as the article explains, it likely has the flaw the article is about.