odenix

Results 145 comments of odenix

What are the use cases, and how common are they? Retrofitting `Int` would be a breaking change and might affect runtime and memory performance. It might also increase the likelihood...

> One use-case is to represent IPv6 addresses, which are 128-bit ints. Shouldn’t these be represented by an `Ipv6` stdlib class in any case?

> Another use-case here is to represent epoch microseconds. FWIW, Java classes such as `java.time.Instant` don’t use `BigInteger` anywhere (just `long` and `int`). By the way, if Pkl’s `Int` was...

An important aspect of monetary calculations are rounding modes and how/where they are specified.