HP Prime/Commands/Guides/All About Complex Numbers

De TI-Planet Wiki
Révision datée du 5 septembre 2022 à 11: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 co... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche
La version imprimable n’est plus prise en charge et peut comporter des erreurs de génération. Veuillez mettre à jour les signets de votre navigateur et utiliser à la place la fonction d’impression par défaut de celui-ci.
This is a slightly-updated backup copy of the article from the old "HPWiki" of TI-Planet (that only hosted HP Prime info)

The complex data type has a type ID of 3.

Making Constants

One way to make complex constants is with this notation:

(a,b)

Where a and b are arbitrary expressions. It is translated to an expression in the following format:

(a)+(b)*i

This is the translation that literally happens in HPPPL; thus, type errors may occur in some cases.

Limits

Each part of a complex expression is bounded to the limits of a real. It follows the rules specified there.