]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #86951 - cyberia-ng:fp-negative-zero-sqrt-docs, r=Mark-Simulacrum
authorYuki Okushi <jtitor@2k36.org>
Sun, 11 Jul 2021 19:31:59 +0000 (04:31 +0900)
committerGitHub <noreply@github.com>
Sun, 11 Jul 2021 19:31:59 +0000 (04:31 +0900)
commit5541d1ac16547e6bb4aad9a1b38c0b3b8722eebc
treedb4d1dbc7338b60fa2c915c2c198cd1a6bc13b4c
parenta4e7a3c29c43c8087066899ca9b9b00c7289a0d9
parenta853a49425c042ffd2d0d46883537a6fc85dddba
Rollup merge of #86951 - cyberia-ng:fp-negative-zero-sqrt-docs, r=Mark-Simulacrum

[docs] Clarify behaviour of f64 and f32::sqrt when argument is negative zero

From IEEE 754 section 6.3:
> Except that squareRoot(−0) shall be −0, every numeric squareRoot result shall have a positive sign.