mfinzi / libfixmath

Automatically exported from code.google.com/p/libfixmath
0 stars 0 forks source link

Compatibility of codes with 32 bit machines #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need libfixmath but _int64 which is used very widely used in it cannot 
operate on 32 bit machines. Is it possible if some one can change the codes to 
32 bit compatibility.

Specifically at the moment I need sqrt, exp, atan2.

Best Regards

Original issue reported on code.google.com by birdla...@gmail.com on 10 May 2011 at 11:13

GoogleCodeExporter commented 9 years ago
__int64_t is either a 64-bit integer or a pair of 32-bit integers depending on 
whether FIXMATH_NO_64BIT is defined.

I think all the functions you described work in 32-bit (with a performance hit 
for some) but you should check the old issue tickets which discuss this in a 
fair level of detail.

Other than that, this is a feature request not a defect and it is an 
open-source project so if you "need" something then you should think about 
joining the project.

Hope that helps.

P.S: All the stuff described above should be working in the current source 
tree, however these changes haven't yet been released.

Original comment by Flatmush@googlemail.com on 10 May 2011 at 12:15