Shop OBEX P1 Docs P2 Docs Learn Events
We need a SIGNED 32x32 multiply and 32x32 divide for PropBASIC. Can you help ? — Parallax Forums

We need a SIGNED 32x32 multiply and 32x32 divide for PropBASIC. Can you help ?

BeanBean Posts: 8,129
edited 2009-09-08 23:54 in Propeller 1
We need a signed multiply and divide routine for PropBASIC.

The input will be 32 bits, and the results will be 32 bits.

I looked in the object exchange, but I didn't see anything.

A search of the forum found some unsigned routines.

If you have a routine, or can whip one up, I would appreciate it.

Bean.


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Does that byte of memory hold "A", 65, $41 or %01000001 ?
Yes it does...


·

Comments

Sign In or Register to comment.