Date: Sun, 26 Dec 2021 22:20:17 +0100 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Subject: Re: ASM-to-C conversion for i386 On Sun, Dec 26, 2021 at 09:42:38PM +0100, Markus Wichmann wrote: > Many of the maths functions are testing if their argument is subnormal, > and return an underflow exception if so and the argument is not zero. > For the single-precision case, the idiom used was to square the input, > which I have recreated with FORCE_EVAL(). For the double-precision case, > however, it was to store the variable as single precision. Dang it, I forgot to ask the point this was leading towards: Is there already an idiom in use in the maths code elsewhere to force an underflow exception for subnormal nonzero inputs? Ciao, Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.