Hi all,
I've got a little test program below. On Linux, it compiles
using:
gcc-3.4 -Wall -O3 -std=c99 lrintf_test.c -lm -o lrintf_test
and when run produces:
lrintf_test ( .00) : ok
lrint_test ( .00) : ok
lrintf_test (3.00) : ok
lrint_test (3.00
Erik de Castro Lopo wrote:
> $ gcc -Wall -O3 lrintf_test.c -o lrintf_test
> $ ./lrintf_test.exe
> lrintf_test ( .00) : ok
> lrint_test ( .00) : ok
> lrintf_test (3.00) :
>
> Line 70: float : Incorrect sample (#252 : -8399916.00 => 889181140).
Brian Dessent wrote:
> Yes, this does in fact seem to be a bug in lrintf. A reduced testcase
> is:
>
> #include
> #include
>
> int main ()
> {
> float f = -8399916.0;
> printf ("f = %f, k = %ld\n", f, lrintf (f));
> }
>
> The value -8399916.0 in binary is
>
> 1 10010110 01011000
Erik de Castro Lopo wrote:
> Err, what??
>
> On Linux, the lrintf() function is an inline function that reduces to
> a single asm instruction.
Linux uses glibc, Cygwin uses newlib. They're not the same thing.
Glibc is highly optimized and tweaked, newlib is designed as a small and
Hi, I've checked the archive for any information about that, but
couldn't fine any.
I'm beginner with cygwin and don't have much experience also with gcc/g++.
The point is that I'm trying to build CGAL (computation geometry
algorithms library) libraries on cygwin (compiler gnu 3.4.4), but I'm
getti
Leandro Melo wrote:
> Hi, I've checked the archive for any information about that, but
> couldn't fine any.
> I'm beginner with cygwin and don't have much experience also with gcc/g++.
> The point is that I'm trying to build CGAL (computation geometry
> algorithms library) libraries on cygwin (com
René Berber wrote:
[snip]
> Install gmp developer.
Correction, just install gmp library, it includes the developer stuff (i.e.
gmp.h); there is no separate developer package.
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.c
On Thu, 1 Sep 2005, Larry Hall wrote:
> At 05:53 PM 9/1/2005, you wrote:
>
>
> >On Wed, 31 Aug 2005, Larry Hall wrote:
> >
> >
> >I have uninstalled GPC package and removed the
> >/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/ directory so that now there is not
> >any reference to 3.3.3 version of GCC
Brian Dessent wrote:
> Linux uses glibc, Cygwin uses newlib. They're not the same thing.
OK.
> Glibc is highly optimized and tweaked, newlib is designed as a small and
> portable libc for embedded systems.
Is the target small source code size or small executable size?
If its small executable
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A new release of findutils, 4.2.25-1, is available.
NEWS:
=
This is a new stable upstream release, with a new maintainer. Upstream
changes since the previous version, 20041227-1 (a CVS snapshot prior to
4.2.11), are listed below, and can be found
Trying to launch Windows 98 "COMMAND.COM" from bash results in a crash
dialog that won't go away. That is, dismissing it results in an
immediate reposting of the same dialog.
SYSTEM SPECS, all up-to-date
Cygwin 1.5.18-1
Bash 3.0-11
Windows 98 (not second edition), with fresh security patches
STE
11 matches
Mail list logo