BCD calculators
08-19-2021, 12:04 AM (This post was last modified: 08-19-2021 12:11 AM by jte.)
Post: #6
 jte Member Posts: 156 Joined: Feb 2014
RE: BCD calculators
(11-18-2020 09:08 PM)Claudio L. Wrote:
(11-04-2020 04:22 PM)Wes Loewer Wrote:
(11-04-2020 04:01 PM)Claudio L. Wrote:  The HP Prime uses binary for HOME, and decimal for the CAS on an ARM

I think you have those reversed.

Yes I did. I stand corrected.

As first shipped, the Prime employed, in the main, three floating-point formats:
• the BCD format of HOME (and PPL, and generally used by the built-in apps / system for evaluating floating-point expressions; 15 digits may be used for portions of calculations, internally; 12 digits are exposed to users),
• the (64-5)-bit binary floating-point format of the CAS (instead of 52 binary digits of explicitly stored mantissa, as in a standard double, 52-5=47 binary digits are explicitly stored; normalized numbers have an implicit leading “1”), and
• the 64-bit binary floating-point format used in the Advanced Graphing app’s interval arithmetic (each interval employing a pair of floating-point numbers, with 52 binary digits explicitly stored in the mantissas of its floating-point numbers, again with an implicit leading “1” for normalized numbers).
(The above ignores things like NaNs and infinities. The BCD format above employs 10 as the exponent base while the binary formats above employ 2 as the exponent base.) Now, there is also Python.
 « Next Oldest | Next Newest »

 Messages In This Thread BCD calculators - neyuru - 11-04-2020, 12:41 AM RE: BCD calculators - Claudio L. - 11-04-2020, 04:01 PM RE: BCD calculators - Wes Loewer - 11-04-2020, 04:22 PM RE: BCD calculators - firai - 11-05-2020, 03:34 PM RE: BCD calculators - Claudio L. - 11-18-2020, 09:08 PM RE: BCD calculators - jte - 08-19-2021 12:04 AM RE: BCD calculators - jte - 08-19-2021, 12:36 AM RE: BCD calculators - Paul Dale - 08-19-2021, 02:05 AM RE: BCD calculators - jte - 08-25-2021, 12:26 AM RE: BCD calculators - Paul Dale - 08-25-2021, 05:03 AM

User(s) browsing this thread: 1 Guest(s)