28,216
reputation
3
34
81

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;
610
answers
1
question
~1.1m
people reached
  • Member for 5 years, 11 months
  • 1,098 profile views
  • Last seen 2 days ago

Top tags (217)

Score 1,134
Posts 298
Posts % 49
Score 653
Posts 178
Score 521
Posts 129
Score 489
Posts 128
Score 416
Posts 118
Score 297
Posts 72

Top posts (611)

View all questions and answers

Badges (118)

Gold

3

Rarest

Silver

34

Rarest

Bronze

81

Rarest