// FloatToBigrat converts a float64 to a *big.Rat.
FloatToBigrat converts a float64 to a *big.Rat.
// FloatToBigrat converts a float64 to a * big . Rat .
func FloatToBigrat(float float64) *big.Rat {
	float_string := fmt.Sprintf("%g", float)
	bigrat := new(big.Rat)
	fmt.Sscan(float_string, bigrat)
	return bigrat
}
func FloatToBigrat ( float float64 ) * big . Rat { float_string := fmt . Sprintf ( " " , float ) bigrat := new ( big . Rat ) fmt . Sscan ( float_string , bigrat ) return bigrat }
FloatToBigrat converts a float64 to a *big.Rat.
FloatToBigrat converts a float64 to a * big . Rat .
// no error scenario could be imagined in testing, so discard err