From owner-cvs-all Tue Aug 13 7:17:44 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91CE837B401; Tue, 13 Aug 2002 07:17:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 427C443E6E; Tue, 13 Aug 2002 07:17:40 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: from freefall.freebsd.org (dwmalone@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7DEHeJU005155; Tue, 13 Aug 2002 07:17:40 -0700 (PDT) (envelope-from dwmalone@freefall.freebsd.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7DEHdPd005154; Tue, 13 Aug 2002 07:17:39 -0700 (PDT) Message-Id: <200208131417.g7DEHdPd005154@freefall.freebsd.org> From: David Malone Date: Tue, 13 Aug 2002 07:17:39 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib strtod.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dwmalone 2002/08/13 07:17:39 PDT Modified files: lib/libc/stdlib strtod.c Log: Use a union to access the words of a double as this is less likely to cause bugs when gcc is more aggressively optimising things. There are still problems with dtoa mentioned in the PR - maybe Dan could suggest a patch. PR: 40209 Submitted by: Dan Lukes Approved by: bde MFC after: 2 weeks Revision Changes Path 1.22 +8 -4 src/lib/libc/stdlib/strtod.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message