HP Prime/Commands/Guides/All About Reals

De TI-Planet Wiki
< HP Prime‎ | Commands
Révision datée du 5 septembre 2022 à 10:19 par Adriweb (discussion | contributions) (Page créée avec « <div style='text-align: center;'>This is a slightly-updated backup copy of the article from the old "HPWiki" of TI-Planet (that only hosted HP Prime info)</div><hr> The re... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Sauter à la navigation Sauter à la recherche
This is a slightly-updated backup copy of the article from the old "HPWiki" of TI-Planet (that only hosted HP Prime info)

The real data type has a type ID of 0. It is the standard numeric type of the HP Prime.

Making Constants

Here are some examples of valid real constants:

1
1.
1.0
1e10
1e-10
1E10
1E-10
1e2.3
1ᴇ10
1ᴇ−10

Here are some examples of invalid real constants:

1..
1e+10
1e10.
1e2e3

Limits

The largest real number is MAXREAL, or 9.99999999999ᴇ499. The smallest positive real number is MINREAL, or 1ᴇ−499. Any calculation that attempts to overflow a real value instead becomes MAXREAL. Likewise, Any calculations smaller than MINREAL becomes 0.