28,296
reputation
3
35
82

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, 3 months
  • 1,124 profile views
  • Last seen Jan 25 at 20:29

Top tags (216)

Score 1,141
Posts 298
Posts % 49
Score 653
Posts 178
Score 523
Posts 129
Score 493
Posts 128
Score 417
Posts 118
Score 296
Posts 72

Top posts (611)

View all questions and answers

Badges (120)

Gold

3

Rarest

Silver

35

Rarest

Bronze

82

Rarest