A library to remove unnecessary upcasting.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
A simple d library that provides integer types that don't promote to a signed 32 bit integer when operated on. Currently it only supports the ldc2 compiler.
Commutative operations (+, *, &, |) will always return a value that is the size and signedness of the larger operand. If the size is equal, or the operation is not commutative (/, >>, -) it maintains the size and signedness of the left hand side.
- Registered by Isaac Patrick Bunsen Stepanek
- 0.2.0 released 11 days ago
- CC0 1.0 Universal