lapack/native: remove unused package-wide constants smlnum and bignum
MODIFY
native/dlatrs.go
native/dlatrs.go
@@ -51,6 +51,8 @@ func (impl Implementation) Dlatrs(uplo blas.Uplo, trans blas.Transpose, diag bla
if n == 0 {
return 0
}
+ smlnum := dlamchS / dlamchP
+ bignum := 1 / smlnum
scale = 1
bi := blas64.Implementation()
if !normin {

MODIFY
native/general.go
native/general.go
@@ -127,7 +127,4 @@ const (
// 1/dlamchS does not overflow, or also the smallest normal number.
// For IEEE this is 2^{-1022}.
dlamchS = 1.0 / (1 << 256) / (1 << 256) / (1 << 256) / (1 << 254)
-
- smlnum = dlamchS / dlamchP
- bignum = 1 / smlnum
)

lapack/native: remove unused package-wide constants smlnum and bignum