All:
 
I'm getting different floating point values when I use numpy vs. unpack().
 
frgba = numpy.frombuffer(<string of bytes>, dtype=float32)
buffer = unpack("!f", byte)
 
frgba[0] != buffer[0]
 
why?  This is forcing me use the unpack() function since it's giving me the 
correct values.  What am I doing wrong?
 
-M
 
 
_________________________________________________________________
Change the world with e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to