Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Browse

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Captcha Click on image to update the captcha.

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Captcha Click on image to update the captcha.

Have an account? Sign In Now

You must login to ask question.

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here

You must login to add post.

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

OrkTouch

OrkTouch Logo OrkTouch Logo

Mobile menu

Close
Ask a Question
  • Home
  • Questions
  • Articles
  • News
  • Members
  • Groups
  • Badges
  • About Us |
  • Contact Us |
  • FAQs |
  • DMCA |
  • Privacy Policy |
  • Terms of Service
Home/ Questions/Q 6329
Next
Adam
  • 0
AdamPundit
Asked: 15 April 20222022-04-15T11:25:17+05:30 2022-04-15T11:25:17+05:30In: Coding

Why is 0.1+0.2 not equal to 0.3 in most programming languages?

  • 0

Computers implement a wide range of arithmetic schemes. In some, such as decimal floating point and rational arithmetic, 0.1 + 0.2 does equal 0.3. One computer I own uses radix-100 floating point, and for it, 0.1 + 0.2 = 0.3 as well.

Now, in binary floating point arithmetic, including the ubiquitous version defined by IEEE-754 floating point standard, it is true: 0.1 + 0.2 ≠ 0.3.

Most programs these days use IEEE floating point by default. Programs can choose to implement other forms of arithmetic, including rational arithmetic and decimal floating point.

codingprogramming
  • 0 0 Answers
  • 24 Views
  • 0 Followers
  • 0
  • Share
    Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Leave an answer
Cancel reply

You must login to add an answer.

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
Add A New Post
Submit a URL

Top Members

ieltsjack

ieltsjack

  • 0 Questions
  • 30 Points
Beginner
schonpuppen

schonpuppen

  • 0 Questions
  • 30 Points
Beginner
aseo8889991

aseo8889991

  • 0 Questions
  • 30 Points
Beginner
Keto Blast Gummies

Keto Blast Gummies

  • 0 Questions
  • 29 Points
Beginner

Trending Tags

analytics c coding company computer english google hallux javascript language make money online php programming programs rendez valgus vous А

Explore

  • Home
  • Questions
  • Articles
  • News
  • Members
  • Groups
  • Badges
  • About Us |
  • Contact Us |
  • FAQs |
  • DMCA |
  • Privacy Policy |
  • Terms of Service

© 2020 OrkTouch. All Rights Reserved