nlpodyssey/gomaddness

View on GitHub
float.go

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright 2022, NLP Odyssey 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 gomaddness

// Float is a constraint that permits any floating-point type.
type Float interface {
    ~float32 | ~float64
}