Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MOD doesn't work with type FIXED (*solved*)
britlion Wrote:I did wonder if this was a bug or not, since it might be odd to modulus a floating point number.

But mod works perfectly with type FLOAT, so logically it should also work well with type FIXED. Fixed division works, and the compiler seems to know where the code for mod should be - at label _MODF16.

Error: Undefined label '__MODF16'
Yes, this is a bug. As you might already guessed, Fixed type MOD is not implemented (I didn't exhaustively tested it, because I use fixed type only on +, - , *, / operations). Ok, will try to fix this week.

Messages In This Thread

Forum Jump:

Users browsing this thread: 1 Guest(s)