Skip to content

xnrm2 wrong on Power8 #946

@andreasnoack

Description

@andreasnoack
program test

    real*8 :: a(2), dnrm2, x

    write(*,*) 'input 0 please'
    read(*,*) x
    a(1) = 0
    a(2) = -1/x

    x = dnrm2(2_8, a, 1)

    write(*,*) x

end program

writes nan but should be infinity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions