Double precision floating point support?

64 views
Skip to first unread message

Bin Huang

unread,
Feb 28, 2013, 9:32:56 PM2/28/13
to python-o...@googlegroups.com
Hi, 

I have been using Pymite-09 for quite a while but have never posted anything here. Let me share some of my experience first. I am running Pymite-09 on a soft ARM processor (with an ancient instruction set) emulated on an FPGA device. Frankly, I really appreciate its clear software infrastructure, which has made it very portable and also fun to hack :-).

Now, has anyone added (or tried to add) double precision floating point support in Pymite? If not, I would like to have a quick assessment on its feasibility from you. For me, it seems that it is pretty straightforward to do such thing in Pymite but there could certainly be pitfalls... 

Any comments are appreciated!

Bin

Dean Hall

unread,
Feb 28, 2013, 10:43:58 PM2/28/13
to python-o...@googlegroups.com
Bin,

I'm glad to hear about the various places PyMite goes.

At first thought, double-precision FP should be pretty straightforward.
On second thought, I bet there are a number of places where I assume that the native-C thing after the object header is 4 bytes.
I will look into this further, but encourage you to keep hacking it how you see fit.

!!Dean
> --
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google Group.
> Site: http://groups.google.com/group/python-on-a-chip
>
> ---
> You received this message because you are subscribed to the Google Groups "python-on-a-chip" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to python-on-a-ch...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Bin Huang

unread,
Mar 1, 2013, 9:27:31 AM3/1/13
to python-o...@googlegroups.com
Thanks, Dean. I will keep you posted.

Bin
Reply all
Reply to author
Forward
0 new messages