Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 11 Nov 2023 19:11:41 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: musl@...ts.openwall.com
Subject: Double Rounding in ....


 	hypot, hypotf, hypotl
and
 	scalbn, scalbnf, scalbnl

Does anybody have a good/clear explanation for how double rounding occurs 
in the case of squaring-of/multiplication-by small numbers and how the 
action taken in the code addresses that? Not sure if it needs to mention

 	FLT_EVAL_METHOD

because certainly the float and double versions of those routines are
written in terms of float_t and double_t respectively.

Thanks - Damian

Pacific Engineering Systems International ..... 20D Grose St, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

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.