delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/16/10:25:08

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: "'Andrew Makhorin'" <mao AT gnu DOT org>, "'Robin Walker'" <rdhw AT cam DOT ac DOT uk>
Cc: <cygwin AT cygwin DOT com>, "'Peter Rosin'" <peda AT lysator DOT liu DOT se>
References: <13811889795 DOT 20070215071733 AT gnu DOT org> <er2v5b$nmj$1 AT sea DOT gmane DOT org> <106982500 DOT 20070216041231 AT gnu DOT org> <EE7C6A9E85BF2E3374078A69 AT qjunbur DOT quns DOT cam DOT ac DOT uk> <1433795387 DOT 20070216163624 AT gnu DOT org>
Subject: RE: strange bug in gettimeofday function
Date: Fri, 16 Feb 2007 15:24:26 -0000
Message-ID: <0d4001c751de$8cba5600$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <1433795387.20070216163624@gnu.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 16 February 2007 13:36, Andrew Makhorin wrote:


> The irony is that I usually give the same standard explanation about
> floating-point to people who do not understand that :) *Unfortunately*,
> you are right, and the difference really appears because the second
> value returned by get_time being computed with full 80-bit precision
> is kept in a fpu register during the comparison while the first value
> is stored and then loaded as a 64-bit value. 


  This is the infamous http://gcc.gnu.org/PR323.  See in particular comment
#60 for a solution (although IIRC _FPU_SETCW doesn't exist on cygwin... maybe
I'll see about adding it).


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019