Estimates for floating point division


does know how slow arduino @ floating point division.  i know it's done in software it's slow , docs "for math requires fractions, use float variables, aware of drawbacks: large size, slow computation speeds"

i'm trying figure out if i'll able use floats or have kludge longs approximation.

basically i'll need compute (10,000,000 / x) values of x between 10 , 2000, , i'll have 5 ms available calculation each value of x.

jason

10,000,000 / 2,000 = 5000 smallest result.  5000 awfully big in comparison possible fractional part available.  do need fixed point, less floating point?

to answer question, have no idea speed of floating point operations.

-j



Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Estimates for floating point division


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums