ABI: Extended math support - signed integers and fixed point numbers
Offen
external contribution
Team Scytale
- Vorherrschende Sprache
- Python
- Sterne
- 288
- Forks
- 138
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Summary
Add support for the following numeric types to PyTeal:
* signed integers (using two's complement)
* signed fixed point numbers
* unsigned fixed point numbers
## Scope
Ideally this would replicate most of the feature described in https://github.com/algorand/pyteal/issues/181 for these new types.
Note that signed integers and signed fixed point numbers are not ARC-4 ABI compliant, so we should not allow public ABI methods to accept arguments or have a return value that uses these types. But they could be added to the ABI in the future, and in any case they are still useful internally.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.