News for hackers. Stuff that matters.
Re:C for All by jcelerier on Saturday March 24, 2018 @12:07PM (#16667293)
> Using pow for a small integer power is a no-no: less efficient and less accurate.

Using pow for a small integer power compiles into the exact same code: https://godbolt.org/g/CjoHdJ

Re:C for All by stochastic_monk on Saturday March 24, 2018 @03:59PM (#16668565)
Only for 1 or 2, unless you turn on --fast-math.