aboutsummaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-10-11 19:21:14 +0200
committerAldy Hernandez <aldyh@redhat.com>2022-10-12 08:49:00 +0200
commit658788f3480e95f1dda0a143b60be89099e5d3c7 (patch)
treea209fd477478ea67ccc7fe3283e7408650ce8668 /libquadmath
parent6ce0823721d476cabb2007fecc12c07202325e17 (diff)
downloadgcc-658788f3480e95f1dda0a143b60be89099e5d3c7.zip
gcc-658788f3480e95f1dda0a143b60be89099e5d3c7.tar.gz
gcc-658788f3480e95f1dda0a143b60be89099e5d3c7.tar.bz2
Add method to query the sign of a NAN.
In writing some range-op entries I noticed we don't have a way to query the sign of the NAN in a range, unless the range only contains NAN, in which case you can just use frange::signbit_p. This patch adds a method that returns TRUE if there exists the possiblity of a NAN and we know its sign. gcc/ChangeLog: * value-range.h (frange::nan_signbit_p): New.
Diffstat (limited to 'libquadmath')
0 files changed, 0 insertions, 0 deletions