mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
- migrate to go module - bump go version 1.14.4 Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
14 lines
396 B
Go
14 lines
396 B
Go
// Copyright ©2015 The Gonum Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package gonum
|
|
|
|
import "math"
|
|
|
|
// Dlapy2 is the LAPACK version of math.Hypot.
|
|
//
|
|
// Dlapy2 is an internal routine. It is exported for testing purposes.
|
|
func (Implementation) Dlapy2(x, y float64) float64 {
|
|
return math.Hypot(x, y)
|
|
}
|