about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-08-28 19:12:54 -0700
committerGitHub <noreply@github.com>2024-08-28 19:12:54 -0700
commitdfe66cf529457dc8aaf71c487b0e8eee8e32d0d8 (patch)
tree350e270e93b5310c6bde1dd79e3c06521f1da930 /compiler/rustc_pattern_analysis/src
parent9ddb45e81afa405ceb11f34f6276332ce8d0ef55 (diff)
parent0589dc75d314152de3ddf095ff2fc774c4a2d9c1 (diff)
downloadrust-dfe66cf529457dc8aaf71c487b0e8eee8e32d0d8.tar.gz
rust-dfe66cf529457dc8aaf71c487b0e8eee8e32d0d8.zip
Rollup merge of #129683 - RalfJung:copysign, r=thomcc
copysign with sign being a NaN can have non-portable results

Follow-up to https://github.com/rust-lang/rust/pull/129559.
Cc ```@tgross35``` ```@beetrees```

There's no portable variant we can recommend instead here, is there? Something with a semantics like "if `sign` is a NaN, then return `self` unaltered, otherwise return `self` with the sign changed to that of `sign`"?
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions