28,236
reputation
3
35
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 6 years
  • 1,103 profile views
  • Last seen yesterday

Top tags (217)

Score 1,136
Posts 298
Posts % 49
Score 653
Posts 178
Score 522
Posts 129
Score 490
Posts 128
Score 416
Posts 118
Score 297
Posts 72

Top posts (611)

View all questions and answers

Badges (119)

Gold

3

Rarest

Silver

35

Rarest

Bronze

81

Rarest