HP Prime/Commands/Guides/All About Complex Numbers

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 co... »)
(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 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.