about summary refs log tree commit diff
path: root/src/libstd/f64.rs
AgeCommit message (Expand)AuthorLines
2020-04-05Remove more std::f32 imports in libstdLinus Färnstrand-39/+15
2020-04-05Stop importing the float modules. Use assoc constsLinus Färnstrand-6/+0
2020-04-03Replace float module consts with assoc consts in documentationLinus Färnstrand-2/+2
2020-02-12Add notice about using new consts in new code on float modulesLinus Färnstrand-0/+3
2020-01-16Rollup merge of #68266 - Stromberg90:patch-2, r=Dylan-DPCDylan DPC-2/+2
2020-01-16Update f64.rsStrømberg-2/+2
2020-01-15Use 3.6 instead of 3.5 in float fract() documentationSOFe-4/+4
2020-01-04Remove negative number check from float sqrtOliver Middleton-1/+1
2019-11-29Format libstd with rustfmtDavid Tolnay-42/+36
2019-11-09Auto merge of #63871 - BatmanAoD:FloatFnMustUse, r=withoutboatsbors-5/+43
2019-11-06using 2.0.log(2.0) in examples does not make it clear which is the base and ...Srinivas Reddy Thatiparthy-9/+9
2019-09-05Restore 'must_use' for 'clamp'; fix warning for testsKyle Strand-5/+4
2019-08-28Let 'clamp' be invoked without using return value; used in testsKyle Strand-0/+2
2019-08-28Annotate functions taking extra argsKyle Strand-1/+10
2019-08-28Add reason for each 'must_use'Kyle Strand-29/+29
2019-08-27Rollup merge of #63698 - Phosphorus15:master, r=nagisaMazdak Farrokhzad-15/+18
2019-08-24Add 'must_use' to all functions 'fn(float) -> float'Kyle Strand-0/+28
2019-08-22Make use of existing constants.Tomasz Różański-10/+9
2019-08-22Change code formatting for readability.Tomasz Różański-9/+9
2019-08-20Refined implementations of `asinh` and `acosh`Phosphorus15-18/+21
2019-08-20Used `copysign` to avoid unnecessary branches.Phosphorus15-9/+1
2019-08-19test cases for both `f32` and `f64` on asinh(-0.0)Phosphorus15-0/+1
2019-08-19Added negative cases for `asinh` according to IEEE-754.Phosphorus15-4/+11
2019-07-07Stablize Euclidean Modulo (feature euclidean_division)CrLF0710-4/+2
2019-06-08Use stable wrappersYuki Okushi-1/+1
2019-04-05Change `copytest` parameter name from `y` to `sign`Will Hakes-5/+5
2019-03-29Stablize {f32,f64}::copysign().CrLF0710-2/+1
2019-03-25Clarify `{Ord,f32,f64}::clamp` docs a littleTobias Bucher-6/+15
2019-03-20Fix f64 testJacob Kiesel-1/+1
2019-03-20Fix formatting and add unit tests for panic casesJacob Kiesel-1/+19
2019-03-20Add NAN test to docsJacob Kiesel-0/+1
2019-03-19Rollup merge of #58812 - jonhoo:floor_v_trunc, r=alexcrichtonMazdak Farrokhzad-4/+8
2019-03-15Auto merge of #58710 - EdorianDark:master, r=sfacklerbors-0/+21
2019-03-09add feature clampDirk Leifeld-0/+1
2019-03-09Revert "Revert "Add clamp functions""Dirk Leifeld-0/+20
2019-02-28Clarify distinction between floor() and trunc()Jon Gjengset-4/+8
2019-02-28libstd => 2018Taiki Endo-7/+7
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-17rename div_euc -> div_euclid, and mod_euc -> rem_euclidNicole Mazzuca-15/+15
2018-12-15Fix a small mistake regarding NaNs in a deprecation messageTobias Bucher-1/+2
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-10-24Fix doc for new copysign functionsRaph Levien-4/+4
2018-10-18Add must_use on copysignRaph Levien-0/+1
2018-10-17Fix inconsistent documentationRaph Levien-3/+4
2018-10-17Add a `copysign` function to f32 and f64Raph Levien-0/+27
2018-06-26Clarify rational behind current implementation of `.mod_euc()`Fabian Kössel-0/+4
2018-06-26Document round-off error in `.mod_euc()`-method, see issue #50179Fabian Kössel-1/+6
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-11/+1
2018-05-13Add “Examples” section header in f32/f64 doc comments.Corey Farwell-0/+76