gonum / blas

A BLAS implementation for Go [DEPRECATED]
172 stars 16 forks source link

native/Dnrm2 returns NaN if multiple Inf values #135

Closed btracey closed 9 years ago

btracey commented 9 years ago

For example, N = 10, IncX =1, x = []float64{4.474077183601786e-75, -Inf, -Inf, 1.398043285130107e-76, 1.398043286095289e-76, 1.398043286095289e-76, 1.398043286095289e-76, 1.398043286095289e-76, 1.398043286095289e-76, 1.398043286095289e-76},

native/drnm2 returns NaN, but it should return +inf.