27,996
reputation
3
34
80

JS1

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;
611
answers
1
question
~1.0m
people reached
  • Member for 5 years, 4 months
  • 1,063 profile views
  • Last seen Mar 28 at 10:45

Top tags (217)

Score 1,125
Posts 298
Posts % 49
Score 648
Posts 179
Score 517
Posts 129
Score 483
Posts 128
Score 412
Posts 118
Score 293
Posts 72

Top posts (612)

View all questions and answers

Badges (117)

Gold

3

Rarest

Silver

34

Rarest

Bronze

80

Rarest