From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26192 invoked from network); 11 Nov 2023 08:12:04 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 11 Nov 2023 08:12:04 -0000 Received: (qmail 3367 invoked by uid 550); 11 Nov 2023 08:11:59 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 3333 invoked from network); 11 Nov 2023 08:11:58 -0000 Date: Sat, 11 Nov 2023 19:11:41 +1100 (AEDT) From: Damian McGuckin To: musl@lists.openwall.com Message-ID: <239849df-fbf3-95e5-f1bd-f1863d43fe8@esi.com.au> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Subject: [musl] 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