Y
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
terminalbraid
346 days ago
The bug is for an exponent of 2. The base is -1.
link
Dylan16807
346 days ago
They mean power of -1.
link
CodesInChaos
346 days ago
Most critical OS functionality will use integers, not floats. And I'd expect most programmers to write squaring a float as `x * x`.
link