« HP Prime/Commands/Guides/All About Complex Numbers » : différence entre les versions
Aller à la navigation
Aller à la recherche
(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... ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<div style='text-align: center;'>This is a | <div style='text-align: center;'>This is a backup copy of the article from the old "HPWiki" of TI-Planet (that only hosted HP Prime info)</div><hr> | ||
The complex data type has a [[HP Prime/Commands/TYPE|type ID]] of 3. | The complex data type has a [[HP Prime/Commands/TYPE|type ID]] of 3. | ||
Dernière version du 5 septembre 2022 à 10:21
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.