-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Data range 32-Bit Float
- Dieses Thema hat 3 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 14 Jahren, 7 Monaten von John Gerhardy aktualisiert.
-
AutorBeiträge
-
Mai 25, 2010 um 7:31 pm Uhr #12561John GerhardyTeilnehmer
Hello,
Creating a data set with 30 Million entries at an intervat of 0.25, the information after the decimal point is cut off after 4194303.75. It looks like this:
Data-Nr. Value
16777215 4194303,25
16777216 4194303,5
16777217 4194303,75
16777218 4194304
16777219 4194304
16777220 4194304,5
16777221 4194305in the documentation the 32-Bit float is described as going form -3.4e+38 to +3.4e+38.
Could someone explain how the bits are divied up, i.e. how many significands and exponands? Or where can I read more about the format in Flexpro?
Mai 25, 2010 um 7:31 pm Uhr #8224John GerhardyTeilnehmerHello,
Creating a data set with 30 Million entries at an intervat of 0.25, the information after the decimal point is cut off after 4194303.75. It looks like this:
Data-Nr. Value
16777215 4194303,25
16777216 4194303,5
16777217 4194303,75
16777218 4194304
16777219 4194304
16777220 4194304,5
16777221 4194305in the documentation the 32-Bit float is described as going form -3.4e+38 to +3.4e+38.
Could someone explain how the bits are divied up, i.e. how many significands and exponands? Or where can I read more about the format in Flexpro?
Mai 26, 2010 um 8:24 pm Uhr #8905Bernhard KantzTeilnehmerThe bits for 32-Bit floating point values are divided up like this: 23 bit for the mantissa, 8 bits for the exponent. Floating point values represent a single-precision 32-bit IEEE 754 value. The type has an accuracy of about seven digits.
A detailed description of the floating point type can be found for instance in WikiPedia at http://en.wikipedia.org/wiki/Floating_point in english or at http://de.wikipedia.org/wiki/Gleitkommazahl in german.Support
support@weisang.comMai 27, 2010 um 11:41 pm Uhr #8906John GerhardyTeilnehmerAt 22 bits (23 bits minus one sign bit) I get 2^22=4194304 which matches to what Flexpro made. Got it. Thanks for the clarification and for the link.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.