- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry if this is not the right forum to ask, but couldn't find a more suitable one. I was wondering what are the exponent ranges (maximum and minimum exponents) supported by theIntel Decimal Floating-Point Math Library
Thanks in advance
Thanks in advance
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The floating point exponent is 8 bit long for ia-32. You may learn more about this by going throgh-fp-model compiler option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Om, how would fp-model be relevant to the decimal library?
Are you saying that the decimal library uses an 8-bit binary exponent for all 3 decimal floating point types?
Are you saying that the decimal library uses an 8-bit binary exponent for all 3 decimal floating point types?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you go to the C standard web site:
http://www.open-std.org/jtc1/sc22/wg14/www/documents
and look at the paper:
N1107 07-Mar-2005 Kwok, Decimal-floating point TR document rev 5
you will find a table of the minimum and maximum exponents for
each of the three decimal floating-point types. There also are macros
for the minimum and maximum exponent:
http://www.open-std.org/jtc1/sc22/wg14/www/documents
and look at the paper:
N1107 07-Mar-2005 Kwok, Decimal-floating point TR document rev 5
you will find a table of the minimum and maximum exponents for
each of the three decimal floating-point types. There also are macros
for the minimum and maximum exponent:
- minimum exponent
- maximum exponent
DEC32_MIN_EXP -95
DEC64_MIN_EXP -383
DEC128_MIN_EXP -6143
DEC32_MAX_EXP 96
DEC64_MAX_EXP 384
DEC128_MAX_EXP 6144

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page