コード例 #1
0
ファイル: numeric.go プロジェクト: remh/go-python
// double PyFloat_GetMax()
// Return the maximum representable finite float DBL_MAX as C double.
//
// New in version 2.6.
func PyFloat_GetMax() float32 {
	return float32(C.PyFloat_GetMax())
}
コード例 #2
0
ファイル: numeric.go プロジェクト: sbinet/go-python
// double PyFloat_GetMax()
// Return the maximum representable finite float DBL_MAX as C double.
//
// New in version 2.6.
func PyFloat_GetMax() float64 {
	return float64(C.PyFloat_GetMax())
}