unyt-org/datex
Remove result / option return type for arithmentic operators
Open
#530 opened on Dec 19, 2025
good first issue
Repository metrics
- Stars
- (14 stars)
- PR merge metrics
- (Avg merge 53d 4h) (6 merged PRs in 30d)
Description
- 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