diff options
author | shirleyquirk <31934565+shirleyquirk@users.noreply.github.com> | 2023-12-15 06:49:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 07:49:07 +0100 |
commit | a4628532b27857d095e69b7b162b453fc2b8373c (patch) | |
tree | a3a66ef302c373285d77069803f40f819cdfeb29 /compiler | |
parent | 94f7e9683fb5c9f643b7e4af367a3a6457d5ad7f (diff) | |
download | Nim-a4628532b27857d095e69b7b162b453fc2b8373c.tar.gz |
rationals: support Rational[SomeUnsignedInt] (#23046)
fixes #22227 rationale: - `3u - 4u` is supported why not`3u.toRational - 4u.toRational` - all of rationals' api is on SomeInteger, looks like unsigned is declared as supported - math on unsigned rationals is meaningful and useful.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions