]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50539 - clarcharr:log_const, r=dtolnay
authorkennytm <kennytm@gmail.com>
Wed, 9 May 2018 09:24:44 +0000 (17:24 +0800)
committerkennytm <kennytm@gmail.com>
Wed, 9 May 2018 09:24:44 +0000 (17:24 +0800)
commit8e7f6dbdd720ebc48e6ef815ecb15fa5535e24cc
treea6e540b37a9644253700e7f92a413e7b8a699974
parent0fa08507efe4187a8056691ceb550e9da1171863
parent23b6e465b9546b99c8b7609bfa4eeaf2094eed09
Rollup merge of #50539 - clarcharr:log_const, r=dtolnay

Add more logarithm constants

Right now, we have `ln(2)` and `ln(10)`, but only `log2(e)` and `log10(e)`. This also adds `log2(10)` and `log10(2)` for consistency.