JS1's user avatar
JS1's user avatar
JS1's user avatar
JS1
  • Member for 9 years, 5 months
  • Last seen more than 4 years ago
Stats
28,526
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.
9
silver badges
9
bronze badges
3
Score
4
Posts
100
Posts %
3
Score
1
Posts
25
Posts %
0
Score
2
Posts
50
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
Top posts