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
386
reputation
3
6

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;
4
answers
0
questions
~9k
people reached
  • Member for 4 years, 6 months
  • 22 profile views
  • Last seen May 18 at 20:54

Top tags (8)

Score 18
Posts 3
Posts % 75
Score 12
Posts 2
Score 8
Posts 1
Score 6
Posts 1
Score 6
Posts 1
Score 6
Posts 1

Top posts (4) All Questions Answers | Votes Newest

Badges (9)

Gold

Silver

3

Rarest

Bronze

6

Rarest