Thank you. Do you have any pointers to the J2ME stuff?
On Jan 12, 3:27 pm, Lance Nanek <lna...@gmail.com> wrote: > There are a couple methods that have been changed to take float > instead of double > here:http://developer.android.com/intl/fr/reference/android/util/FloatMath... > > I've actually been doing my trig and other complex calculations using > fixed point integers myself. You can find a lot of utilities/libraries > for that sort of thing that were originally written for J2ME, but that > work on Android. > > On Jan 12, 5:34 pm, Philip <philip.dese...@gmail.com> wrote: > > > > > I need maths for my game physics and lots of them, so I use the... > > Math library. And guess what? I never casted so much to floats in my > > entire life. And i know how costly it is to use doubles on an embedded > > device because I read the performance optimization page in the google > > android sdk docs. So I am wondering if we couldn't get a Math package > > with functions taking and returning floats instead of the default > > doubles. e.g. Math.sinf Math.cosf. > > > Thanks! > > > Philip > > > PS: It's not my idea, Cocoa on the iPhone does it already.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en