delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/06/18/12:48:18

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: Floating point in perl.
18 Jun 1998 12:48:18 -0700 :
Message-ID: <199806181926.PAA00966.cygnus.cygwin32.developers@kramden.cygnus.com>
To: cygwin32-developers AT cygnus DOT com, sos AT prospect DOT com DOT ru

>From: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
>Date: Thu, 18 Jun 1998 22:55:33 +0400
>
>The following perl script:
>
>#!/qub/perl
>
>eval '$foo = 1.234;';
>print "foo = ", $foo, "\n";
>
>prints:
>
>foo = 1.00182889401913
>
>when running with my latest cygwinb19.dll (no problems was before). The 
>only possible difference I see - the dll is linked with the latest newlib's 
>snapshot.

This works fine with the version that I'm using.  Possibly I'm using
a newer version of newlib, though.  I'm definitely using a different
version of perl, too.

-Chris

- Raw text -


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