JS1
  • Member for 6 years, 10 months
Stats
28,346
reputation
1k
reached
2
answers
2
questions
Loading…
About

Member of the Floating point police™, who believe that unnecessary and/or careless use of floating point is a crime.

// Please use x*x here instead.
int xsquared = pow(x, 2);

// num = 1000 will cause this to fail.
int numDigits = (log(num) / log(10)) + 1;
This user doesn’t have any gold badges yet.
6
silver badges
9
bronze badges

Top tags (9)

Score 3
Posts 4
Posts % 100
Score 3
Posts 1
Score 0
Posts 2
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (4)