summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorshirleyquirk <31934565+shirleyquirk@users.noreply.github.com>2023-12-15 06:49:07 +0000
committerGitHub <noreply@github.com>2023-12-15 07:49:07 +0100
commita4628532b27857d095e69b7b162b453fc2b8373c (patch)
treea3a66ef302c373285d77069803f40f819cdfeb29 /compiler
parent94f7e9683fb5c9f643b7e4af367a3a6457d5ad7f (diff)
downloadNim-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