HP Prime/Commands/Guides/All About Complex Numbers

De TI-Planet Wiki
Révision datée du 5 septembre 2022 à 11:21 par Adriweb (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche
This is a 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.