summary refs log tree commit diff stats
path: root/doc/docgen_sample.nim
diff options
context:
space:
mode:
authorquimt <126020181+quimt@users.noreply.github.com>2024-07-09 06:59:10 -0400
committerGitHub <noreply@github.com>2024-07-09 12:59:10 +0200
commit96c165304d53fbca83f89c73df38b63e3c0ab85e (patch)
tree2e6152de170548f27f114624f4e2bb9807efe47b /doc/docgen_sample.nim
parent732f7752a954bb33a92e839304006ba5d865400a (diff)
downloadNim-96c165304d53fbca83f89c73df38b63e3c0ab85e.tar.gz
conditional compilation of gcd(SomeInteger,SomeInteger) in std/math (#23773)
The most specific version of `gcd(int,int)` in `std/math` uses bitwise
comparisons from C compilers, which can't be borrowed on the js platform
in the web browser. Conditional compilation here should fix the issue
for this and downstream libraries such as `std/rationals` when compiling
to browser js as the backend.

---------

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'doc/docgen_sample.nim')
0 files changed, 0 insertions, 0 deletions