Hacker News new | ask | show | jobs
by vermilingua 346 days ago
I don’t think there is much systems code that needs an exponent of -1, maybe none that needs exponents at all (aside from 2^n, which has opcodes, not C functions)
2 comments

The bug is for an exponent of 2. The base is -1.
They mean power of -1.
Most critical OS functionality will use integers, not floats. And I'd expect most programmers to write squaring a float as `x * x`.