Skip to content

Commit

Permalink
Rollup merge of #129683 - RalfJung:copysign, r=thomcc
Browse files Browse the repository at this point in the history
copysign with sign being a NaN can have non-portable results

Follow-up to rust-lang/rust#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`"?
  • Loading branch information
workingjubilee committed Aug 29, 2024
2 parents c8e4a83 + 99e564a commit f75de6c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f75de6c

Please sign in to comment.