Пример #1
0
func NewValueFromFloat32(f float32) ValueFloat32 {
	x := new(Value)
	x.data = C.xmmsv_new_float(C.float(f))
	var vf ValueFloat32 = x
	return vf
}
Пример #2
0
func NewValueFromFloat64(f float64) ValueFloat64 {
	x := new(Value)
	x.data = C.xmmsv_new_float(C.float(f))
	var vf ValueFloat64 = x
	return vf
}