Yes and no, PBP have it's limit... it's not something new. But decent math approach would save the day.
To make a short story, PBP works with integer, nowhere in the manual you'll find an answer about floating points and or square power.
Thinking never killed... sure you use the easy route... but...
i think few people may need to relax or simply be ban out of here...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi, Steve
Why not change the formula to :
16 x 115 / 4 x ( 200 - SQR ( 36 000 )) = 5 000 ( exactly 4721. .... ! PbP will return 5060 here ... )
PbP would do that without any pain ... but not very precisely, as you see !!!
Alain
Ok, ... also just look for possible overflows !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Oh boy looks like I got over eager with another project, well I will see what I can do to get some sort of formula working in PBP.
Looks like I will be doing alot of debug and lcdout on this one.
Hi, Tico
I'm curious to see where your formula came out ... and what used for.
looks too much like a triangle solving and inch converting !!!
Alain
PS ... see also here for math ... http://www.micromegacorp.com/pbp.html
a V3 chip is also available ... don't hesitate to browse !!! http://www.micromegacorp.com/umfpu-v3.html
Last edited by Acetronics2; - 27th April 2007 at 15:39.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
There's still the huge LOOKUP table + interpolation method, but, not sure that i saw the real maths here or if i'm just brainless today... or both![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks