Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FractionComponent ¶
func FractionComponent[T constraints.Float](x T) int
func Whole ¶
func Whole[T constraints.Float](x T) int
Types ¶
type Rational ¶
func FromFloat ¶
func FromFloat[T constraints.Float](n T) Rational
func FromString ¶
func MustString ¶
Click to show internal directories.
Click to hide internal directories.