Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #16487
| From | Hrvoje Niksic <hniksic@xemacs.org> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: unpack('>f', b'\x00\x01\x00\x00') |
| Date | 2011-12-01 11:21 +0100 |
| Organization | B.net Hrvatska d.o.o. |
| Message-ID | <87obvsbnja.fsf@xemacs.org> (permalink) |
| References | <6b7251ef-3479-412f-8acb-882be1e25633@n35g2000yqf.googlegroups.com> <mailman.3181.1322694176.27778.python-list@python.org> |
Chris Rebert <clp2@rebertia.com> writes: > C does not have a built-in fixed-point datatype, so the `struct` > module doesn't handle fixed-point numbers directly. The built-in decimal module supports fixed-point arithmetic, but the struct module doesn't know about it. A bug report (or patch) by someone who works with binary representations of fixed-point would be a good start to improve it.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
unpack('>f', b'\x00\x01\x00\x00') kuaile xu <kuaile.xu@gmail.com> - 2011-11-30 14:24 -0800
Re: unpack('>f', b'\x00\x01\x00\x00') Chris Rebert <clp2@rebertia.com> - 2011-11-30 15:02 -0800
Re: unpack('>f', b'\x00\x01\x00\x00') kuaile xu <kuaile.xu@gmail.com> - 2011-11-30 15:25 -0800
Re: unpack('>f', b'\x00\x01\x00\x00') Hrvoje Niksic <hniksic@xemacs.org> - 2011-12-01 11:21 +0100
Re: unpack('>f', b'\x00\x01\x00\x00') Mark Dickinson <mdickinson@enthought.com> - 2011-12-02 08:25 -0800
Re: unpack('>f', b'\x00\x01\x00\x00') Ian Kelly <ian.g.kelly@gmail.com> - 2011-11-30 16:49 -0700
csiph-web