【发布时间】:2013-07-23 00:26:13
【问题描述】:
我想知道 Scala 或它著名的数学库之一(例如 Spire)是否具有与 Go 的 math.Nextafter 函数等效的功能
package main
import (
"fmt"
"math"
)
func main() {
fmt.Printf("Now you have %g problems.",
math.Nextafter(2, 3))
}
如果不是,获得相同功能的最“Scala”方式是什么?
【问题讨论】: