about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/xstatconv.h
diff options
context:
space:
mode:
authorZong Li <zongbox@gmail.com>2018-11-30 17:18:20 +0800
committerAlistair Francis <alistair.francis@wdc.com>2020-08-27 08:17:43 -0700
commit2ed993ada6fc29c0589d4818595df200e1d93a16 (patch)
tree78de36190978acd6965dba58616e180856fd3759 /sysdeps/unix/sysv/linux/alpha/xstatconv.h
parentb2d175cdb755277ef5579fdac914768003bfbc5c (diff)
downloadglibc-2ed993ada6fc29c0589d4818595df200e1d93a16.tar.gz
glibc-2ed993ada6fc29c0589d4818595df200e1d93a16.tar.xz
glibc-2ed993ada6fc29c0589d4818595df200e1d93a16.zip
RISC-V: Fix llrint and llround missing exceptions on RV32
Conversions from a float to a long long on 32-bit RISC-V (RV32) may not
raise the correct exceptions on overflow, it also may raise spurious
"inexact" exceptions on non overflow cases.  This patch fixes the
problem, similarly to the fix for MIPS, ARM and S390.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/xstatconv.h')
0 files changed, 0 insertions, 0 deletions