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

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

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.

Have an account? Sign In Now

You must login to ask a question.

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

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:57:43+00:00 2026-06-05T03:57:43+00:00

I tried to read on the IEEE standard about floating point implementation but it

  • 0

I tried to read on the IEEE standard about floating point implementation but it is quite advanced for me and I don’t program for a living.

This is something I wondered.

Suppose I have a float variable between 0 and N and I will scale it up when needed, but intermediary calculations will be done in this unnormalized value.

Logically, the range [0.0, 1.0] will be enough. But if I limit my numbers between 0 and 1, do I lose precision some way? Do I gain anything if I use [0, 10.0], or [0, 1000000.0]?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:57:44+00:00Added an answer on June 5, 2026 at 3:57 am

    your idea is a good one, but you don’t save anything because, in a sense, floating point numbers are designed to do this for you.

    internally, a float has two parts, called mantissa and exponent. the mantissa is equivalent to your range, and the exponent is the scaling needed to get it to the “real” value.

    any number you give is normalised to a range like [1-9.999…] plus a power of 10 multiplier. so you get the precision of the mantissa for almost all values (the only exceptions are when you get to the extremes of the exponent – these are called “denormalized numbers” (or “subnormal”), but are extremely small (close to zero) or large, and not something you need worry about, normally).

    so whether you enter 1.23 or 12.3 or 123, it’s stored as 1.23 (the mantissa) plus a factor (1, 10 or 100, the exponent) internally.

    actually, that’s not quite true, because it uses powers of 2 (binary) rather than powers of ten (decimal) (see the comment from sixlettervariable), but it’s the same general idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm really confused about this, tried to read a lot about diagrams but I
I've tried to read up on a few articles about this, but some of
I tried to read a lot of resources about CreateMappingFile but unfortunately I don't
I don't have much of a socket programming experience but I tried read a
I tried to read a REG_BINARY value of the Windows registry, but I don't
i tried to read text file in xcode but this EXC_BAD_ACCESS message showed up
This may sound very noobish but I have tried to read the forum posts
Ok, I've tried to read up on this but I'm stumped. Unfortunately it's a
Tried to read the official guide about embedding video on my website, but I
I tried to read a file in a view like this: def foo(request): f

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.