Author Topic: question with floating point math.  (Read 1971 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
question with floating point math.
« on: October 31, 2011, 07:25:47 pm »
so I got how to store floating points:
.db pos/neg, digits, numbers in hex ...

so the question: how do I multiply/divide?
Sig wipe!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: question with floating point math.
« Reply #1 on: October 31, 2011, 07:35:09 pm »
bcall(_FPMult) and bcall(_FPDiv), respectively. Arguments are generally in OP1 and OP2. Just search for stuff in here that begin with _fp.
« Last Edit: October 31, 2011, 07:36:22 pm by Deep Thought »