Example #1
0
// public native float getFloat(long address);
// (J)J
func mem_getFloat(frame *rtda.Frame) {
	stack, mem := _get(frame)
	stack.PushFloat(bigendian.Float32(mem))
}
Example #2
0
func (self *ClassReader) readFloat32() float32 {
	val := bigendian.Float32(self.data)
	self.data = self.data[4:]
	return val
}