unyt-org/datex
Remove result / option return type for arithmentic operators
Offen
#530 geöffnet am 19.12.2025
good first issue
Repository-Metriken
- Stars
- (14 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 53T 4h) (6 gemergte PRs in 30 T)
Beschreibung
- deprecate Option for TypedInteger addition / substraction https://github.com/unyt-org/datex-core/blob/release/0.0.7/src/values/core_values/integer/typed_integer.rs
- Perform a wrap-around if we go out of range with an operation
var x: integer/i32 = 2147483647; x + 1 // -2147483648 var x: integer/u8= 255; x + 1 // 0