photoprism/pkg/vector/const.go
Michael Mayer 149f5e5731 CI: Apply Go linter recommendations to remaining "pkg/..." code #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-22 16:14:43 +01:00

13 lines
231 B
Go

package vector
import "math"
const (
// Epsilon is the smallest non-zero float used as a numerical tolerance.
Epsilon = math.SmallestNonzeroFloat64
)
// NaN returns a quiet NaN value.
func NaN() float64 {
return math.NaN()
}