4 ms·
if n < 0: n = -n x = 1.0 / x Dead giveaway.
by BoppreH 16y ago
if n < 0:
n = -n
x = 1.0 / x
Dead giveaway.
- silentbicycle 16y agoDead giveaway for developers who know math, you mean.
- calcnerd256 16y agoWho else should be reading procedural code written in a compiled language?
- silentbicycle 16y agoWell, sure, but it doesn't always work out that way.
- nandemo 16y agoEr, it's just exponentiation with a (possibly negative) integer exponent. High-school-level arithmetic, maybe junior high. If your peers don't know this, you're in trouble.