flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
dave_30
is there anyway to get the remainder of two float numbers division?
example: 2.5 / 2.0 = 2 remainder = 0.5 i just want to get the remainder not the result. |
|||
![]() |
|
HaHaAnonymous
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 22:01; edited 2 times in total |
|||
![]() |
|
dave_30
that was just an example the main thing is there anyway to get remainder if there's any in floating point division?
|
|||
![]() |
|
HaHaAnonymous
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 22:01; edited 1 time in total |
|||
![]() |
|
SeproMan
dave_30,
You can use the instruction "fprem" to obtain this remainder. Consult the Intel manuals for details... _________________ Real Address Mode. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.