From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) by sourceware.org (Postfix) with ESMTPS id 5208B3858D28 for ; Mon, 6 Dec 2021 12:22:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5208B3858D28 Received: by mail-ua1-x92f.google.com with SMTP id 30so473111uag.13 for ; Mon, 06 Dec 2021 04:22:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=JE9llqcOopu5rzb8M72yh2OkdSv6LUknZk/2hRV0m5E=; b=hnvtfu+7a1dup+WvZ0y1tkrFVCSXoNZMgrQMz8+gU3RodjlkMh1WPLPI5DUCIdEYoh VspS1w53jwMJ5PzupXM3/7I7y7BWoofH63YEzve7kEovJUBmcRDFzRp08MOF3/IX3JtE rCO41wTgI6pnJz9gKqz67y1vLgPRUbAYyYNdVbC0TrLbhO50Bh/aIcr9nZufFzlCYRwA tZlflq4JLlvuskC+YeIFkFff/uwwtLcbs6xgHo5VSxeNIYewcPcRq6srd7rXuE1/RIby GxxWpRWL587Mpi5pRp863RYqgXLpAPJTSnX7TxfPK2bgpWrsJskRvI+uzSBsiVop27dt 67gQ== X-Gm-Message-State: AOAM5318Uu4UnEL5+bkIVXTJQQCPtaG4JFvCbELQrjCydU6xVymiBgYu yLiy/rxOYyLVzWJsH1FPLFGvxYzyFMXfYA== X-Google-Smtp-Source: ABdhPJyn7t8qcXwlGclqJQxrtAxGCh+bAcvbxN1OYzcsko6qvrT3DzFIcfk1IGymXlHEYp/gR4l+Jg== X-Received: by 2002:a05:6102:512b:: with SMTP id bm43mr36361792vsb.14.1638793320837; Mon, 06 Dec 2021 04:22:00 -0800 (PST) Received: from ?IPV6:2804:431:c7cb:30f8:a284:bef4:40ef:e94d? ([2804:431:c7cb:30f8:a284:bef4:40ef:e94d]) by smtp.gmail.com with ESMTPSA id bk3sm4027761vkb.33.2021.12.06.04.21.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Dec 2021 04:22:00 -0800 (PST) Message-ID: <6b39a510-d290-55fd-06f9-6aeaccd39c01@linaro.org> Date: Mon, 6 Dec 2021 09:21:58 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v4 04/12] math: Use an improved algorithm for hypotl (ldbl-96) Content-Language: en-US To: Wilco Dijkstra , "libc-alpha@sourceware.org" , Paul Zimmermann References: <20211203000103.737833-1-adhemerval.zanella@linaro.org> <20211203000103.737833-5-adhemerval.zanella@linaro.org> From: Adhemerval Zanella In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2021 12:22:03 -0000 On 06/12/2021 09:00, Wilco Dijkstra wrote: > Hi Adhemerval, > > > +  /* If ay is tiny, scale both inputs up.  */ > +  if (__glibc_unlikely (ay < TINY_VAL)) > +    { > +      if (__glibc_unlikely (ax >= ay / EPS)) > +       return ax; > > Same here - return ax + ay. Ack, I have fixed it.