Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigFloatEqUpTo ¶
BigFloatEqUpTo returns true if abs(a-b)<=maxDiff
func DRNGFloat64Slice ¶
DRNGFloat64Slice wraps DRNGFloat64SliceCustomScale with scaleFactor set to 1000
func DRNGFloat64SliceCustomScale ¶
DRNGFloat64SliceCustomScale returns a slice of length entries with pseudo random values from -scaleFactor to scaleFactor Calling with the same seed will yield the same sequence. Intended to generate large test data sets
func FloatEqUpTo ¶
FloatEqUpTo returns true if abs(a-b)<=maxDiff
func FloatSliceEqUpTo ¶
FloatSliceEqUpTo returns true if FloatEqUpTo(a[i],b[i],maxDiff) holds for all elements
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.