Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
4,193
reputation
16
20

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;
38
answers
0
questions
~44k
people reached
  • Member for 4 years, 7 months
  • 66 profile views
  • Last seen yesterday

Top tags (23)

Score 197
Posts 18
Posts % 47
Score 82
Posts 6
Score 66
Posts 7
Score 60
Posts 4
Score 50
Posts 7
Score 47
Posts 5

Top posts (38) All Questions Answers | Votes Newest

View all questions and answers

Badges (36)

Gold

Silver

16

Rarest

Bronze

20

Rarest