Giter Club home page Giter Club logo

Comments (4)

zaikunzhang avatar zaikunzhang commented on August 18, 2024

Thank you @jschueller . Yes, gtest would pass. However, on my side, make test_eqv will fail with gfortran 13.1.0. Could you check?

from test_compiler.

jschueller avatar jschueller commented on August 18, 2024

it fails:

$ make test_eqv
gfortran -Ofast test_eqv.f90 && ./a.out
              NaN              NaN               NaN                                                                                   
 x <= 0.0, y <= 0.0 x <= 0.0 .eqv. y <= 0.0 x <= 0.0 .neqv. y <= 0.0
 F F F F
 Wrong!
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG
STOP 1
make: *** [Makefile:102: test_eqv] Error 1

from test_compiler.

jschueller avatar jschueller commented on August 18, 2024

is this a known bug ?

from test_compiler.

zaikunzhang avatar zaikunzhang commented on August 18, 2024

I will not call it a bug until the gfortran developers say so. Since we are using -Ofast, gfortran is allowed to do many things. Maybe it is allowed to produce results like this. See https://fortran-lang.discourse.group/t/is-this-expected/6486 .

from test_compiler.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.