Shop OBEX P1 Docs P2 Docs Learn Events
Odd FloatMath problem {Resolved} — Parallax Forums

Odd FloatMath problem {Resolved}

crgwbrcrgwbr Posts: 614
edited 2008-04-29 18:08 in Propeller 1
For some odd reason, the Prop hangs up on this line of code:

Setpoint := FM.FDiv(FM.FFloat(Dial_Pos), 10000.0)



I can't really figure out where the error is, but because of various indicators, I know it's this line. Its like the prop just stops executing code. Anyone have an idea?

Thanks,
Craig

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

"Failure is not an option -- it comes bundled with Windows."

Use The Best...
Linux for Servers
Mac for Graphics
Palm for Mobility
Windows for Solitaire

Post Edited (crgwbr) : 4/29/2008 6:16:53 PM GMT

Comments

  • crgwbrcrgwbr Posts: 614
    edited 2008-04-29 18:08
    Nvm. I figured out that it was this object that was causing the issues. I changed it back to the FP object by Chip, and everything works.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

    I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

    "Failure is not an option -- it comes bundled with Windows."

    Use The Best...
    Linux for Servers
    Mac for Graphics
    Palm for Mobility
    Windows for Solitaire
Sign In or Register to comment.