Stack Exchange Network

Stack Exchange network consists of 174 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
27,245
reputation
3
29
76

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;
603
answers
1
question
~751k
people reached
  • Member for 4 years, 1 month
  • 893 profile views
  • Last seen 17 mins ago

Top Tags (216)

Score 1,097
Posts 293
Posts % 49
Score 630
Posts 176
Score 508
Posts 129
Score 468
Posts 127
Score 395
Posts 117
Score 282
Posts 71

Top Posts (604) All Questions Answers | Votes Newest

View all questions and answers

Badges (108)

Gold

3

Rarest

Silver

29

Rarest

Bronze

76

Rarest