stride not rows + cols
This commit is contained in:
parent
846133c6bf
commit
e4f05d3863
3 changed files with 141 additions and 61 deletions
|
|
@ -30,3 +30,7 @@ func maxInt(values ...int) int {
|
|||
func f64s(v float64) string {
|
||||
return strconv.FormatFloat(v, 'f', -1, 64)
|
||||
}
|
||||
|
||||
func roundToEpsilon(value, epsilon float64) float64 {
|
||||
return math.Nextafter(value, value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue