On Mon, 17 Jun 2019, Tejas Joshi wrote: > > existing ROUND_NO_EXC definition in GCC. A new definition will need > > adding alongside ROUND_FLOOR, ROUND_CEIL and ROUND_TRUNC to correspond to > > rounding to nearest with ties to even, evaluating to 0.) > > So (ROUND_ROUNDEVEN 0x0) be declared for rounding towards nearest > even for rounding mode argument? But reference says that RC field > should end up as 00B for rounding ties to even? I am also much
I think the code will be much clearer if it explicitly says ROUND_ROUNDEVEN | ROUND_NO_EXC, than if it hardcodes implicit knowledge that 0 is the value used for rounding to nearest with ties to even. -- Joseph S. Myers jos...@codesourcery.com