unyt-org/datex
Remove result / option return type for arithmentic operators
オープン
#530 opened on 2025/12/19
good first issue
Repository metrics
- Stars
- (14 個のスター)
- PR merge metrics
- (平均マージ 53d 4h) (30d で 6 merged PRs)
説明
- 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