CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/04/28 09:38:59
Added files:
lib/libc/arch/riscv64/gen: flt_rounds.c
Log message:
Implement __flt_rounds() for RISC-V. RISC-V is "interesting" since it
implements a variation on the traditional "to nearest" rounding mode that
rounds away from zero when tied. The upcoming C2x includes support for that
and LLVM already implements this so provide an implementation that matches
our system compiler.
ok drahn@
