diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-05-07 04:47:46 +1000 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-05-07 19:16:02 +1000 |
| commit | 06c5e7f383405094ab95229da7854aa61bb9df7f (patch) | |
| tree | b2a80370269699e01e195945ef95f0c97db09640 /src/rt/sync/rust_thread.cpp | |
| parent | 9b09dce3e1a9935bbe443a976e47ed9f71227883 (diff) | |
| download | rust-06c5e7f383405094ab95229da7854aa61bb9df7f.tar.gz rust-06c5e7f383405094ab95229da7854aa61bb9df7f.zip | |
Implement exp_m1 and ln_1p as methods for Float
Both expm1 and ln1p have been renamed to exp_m1 and ln_1p in order to be consistent with the underscore usage elsewhere. The exp_m1 method is used for increased accuracy when doing floating point calculations, so this has been moved from the more general 'Exponential' trait into 'Float'.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
