[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: odd behaviour with 2x2 matrix floating-point multiplication
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: odd behaviour with 2x2 matrix floating-point multiplication |
Date: |
Tue, 16 Dec 2014 14:24:49 -0500 |
On Tue, 2014-12-16 at 18:24 +0100, Marco Atzeri wrote:
> On 12/16/2014 5:05 PM, Jordi Gutiérrez Hermoso wrote:
> > What does the following C++ program output when you compile it with
> > 32-bit and 64-bit MinGW?
> >
> > #include <iostream>
> >
> > int main(){
> > double eps = 1.0;
> > while (1 + eps > 1) {
> > eps /= 2;
> > }
> > std::cout << "Machine epsilon is " << 2*eps << std::endl;
> > }
> >
>
> I am not a mingw user. ;-) Just the cygwin package manager.
>
> Neither the original complainer...
Well, what do you use to compile on cygwin? Or does someone else do
the compilation?
- Jordi G. H.
- odd behaviour with 2x2 matrix floating-point multiplication, s.jo, 2014/12/15
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Jordi Gutiérrez Hermoso, 2014/12/15
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Daniel J Sebald, 2014/12/15
- Re: odd behaviour with 2x2 matrix floating-point multiplication, s.jo, 2014/12/15
- Re: odd behaviour with 2x2 matrix floating-point multiplication, s.jo, 2014/12/15
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Marco Atzeri, 2014/12/16
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Marco Atzeri, 2014/12/16
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Jordi Gutiérrez Hermoso, 2014/12/16
- Re: odd behaviour with 2x2 matrix floating-point multiplication, Marco Atzeri, 2014/12/16
- Re: odd behaviour with 2x2 matrix floating-point multiplication,
Jordi Gutiérrez Hermoso <=
- Re: odd behaviour with 2x2 matrix floating-point multiplication, s.jo, 2014/12/15