From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 983E71F463 for ; Mon, 30 Dec 2019 19:59:05 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=L4/8ePIYQxaHzUJqI+HnMPbF5zPXC v6CgsJfNkQBXE4b3rcAPAkWAOtmyj4ZUXp0zPzssf6oJGkRNkSJWBmtk+oI82qBt QMUCuV5mVRmcR8qwL6/swQFxxZZh8C433ghezozXAkmTOK5YVa6X63jwKJdTQI++ VvZb1KsniAEgTY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=G4zDNBhUWXQhvsRyNAw8mKDoa+k=; b=t7v wVKzoLgIzfDd+UBnB0NRXtRzRpQwIy9vWZTmHpMiwGNN7wXGtP2i+wIcXtWVP79a BCwBmN7TTT6miAfa4A8fE91UU9iJ6ySbOys62TwH/ft7uGNKiHZcccjsld9i0092 Z204R2xaWkXVY/nWI6fvcg5a/pW9ux7z2006W0sc= Received: (qmail 5271 invoked by alias); 30 Dec 2019 19:59:03 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 5263 invoked by uid 89); 30 Dec 2019 19:59:03 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-lj1-f175.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dR//Xv3+A/6O7l3IrZK2Y7VnKPr/MsvrNhjUzQ75Zvg=; b=sCXiUbVGfrDrkhqyMNdC9LUtsqpThUE1zikfUQX7ELsnqePfI++MDefiJo6F6Cj7Ea MXVlQ4mWuWrXVpqg89HNVlppX8zCfy41o/tm+p6/9DqtXYMljR2frE/te0uAaTyfe1LB 1+54nEpjlD8QnamfGcSHmhOjuKQi8KhPdEpvHdN02iYnoG2ijwTWCUWoL+hnyU9g6Pap 99DLQakBzkqLo4DLUzmc86NFi34oCPKoAw4vm27Pk2LEkBy+3NxJAScnLJpTQxP1o1bi gtKokPnXStHtiQAABmb65QosYf1fodpiLozLY2wd4OWoZOOGvvGufJ7tbcgnq1Ah73ty a2rg== MIME-Version: 1.0 From: Alistair Francis Date: Mon, 30 Dec 2019 11:52:26 -0800 Message-ID: Subject: Math errors To: GNU C Library Content-Type: text/plain; charset="UTF-8" Hey, I'm running the `make check` tests on RV32 inside QEMU and about 800 math tests are failing with errors along these lines: $ cat math/test-double-erf.out Failure: Test: erf (0x1.4p+0) Result: is: 9.2290012825645817e-01 0x1.d8865d98abe00p-1 should be: 9.2290012825645829e-01 0x1.d8865d98abe01p-1 difference: 1.1102230246251565e-16 0x1.0000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Maximal error of `erf' is : 1 ulp accepted: 0 ulp Failure: Test: erf_downward (-0x1.4d32f4p-12) Result: is: -3.5855754629430663e-04 -0x1.77f98ef609eb3p-12 should be: -3.5855754629430669e-04 -0x1.77f98ef609eb4p-12 difference: 5.4210108624275221e-20 0x1.0000000000000p-64 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: erf_downward (0x1.44e722p+0) Result: is: 9.2732266856644440e-01 0x1.daca096caa26ap-1 should be: 9.2732266856644429e-01 0x1.daca096caa269p-1 difference: 1.1102230246251565e-16 0x1.0000000000000p-53 It seems the tests are failing due to small differences in the floating point values. Has anyone seen this before? I don't see how this can be related specifically to the RV32 port, but I didn't see these errors when running the ARM 32-bit testing. It's possible we are loosing information in the QEMU floating point implementation for RV32. Alistair