about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-08-21 10:06:05 -0700
committerMichael Howell <michael@notriddle.com>2023-08-21 10:45:47 -0700
commit88bd304a1000be95e15c319ca79564e168ba02c3 (patch)
treeee47703a0a80f7314d930ae7c28e3e7a0ff5513b /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentfe5f5912579d02c4e6088c89574493dfa988531a (diff)
downloadrust-88bd304a1000be95e15c319ca79564e168ba02c3.tar.gz
rust-88bd304a1000be95e15c319ca79564e168ba02c3.zip
docs: add alias log1p to ln_1p
This is what the function is called in several other languages:

* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p
* https://numpy.org/doc/stable/reference/generated/numpy.log1p.html
* https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/log1p-log1pf-log1pl2?view=msvc-170

It also confused people at URLO: https://users.rust-lang.org/t/64-bit-trigonometry/98599/27
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions