I need a bit of fuzziness in the decision
youngdave
Posts: 70
Dear All
Does anyone have any tips on implementing the following?
repeat while (desired_x == (|| rr.random // 200 + 1) +/-10%)
In other words, I need a bit of fuzziness in the decision.
TIA David Young
Does anyone have any tips on implementing the following?
repeat while (desired_x == (|| rr.random // 200 + 1) +/-10%)
In other words, I need a bit of fuzziness in the decision.
TIA David Young
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
It's not entirely clear what you're trying to accomplish. But I think what you want is this:
-Phil