flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Jessé 30 May 2025, 08:53
If I understand correctly, there are 2 problems: using single precision for such a big number may corrupt the result; you're trying to fit a conversion result number larger than a 32 bit number into a 32 bit register.
For this, under 32 bit, the best approach might be the FPU: Code: ; ... sub esp, 8 finit fld qword [bigfloat] fistp qword [esp] pop eax pop edx bigfloat dq -95000000000.0 |
|||
![]() |
|
Roman 31 May 2025, 05:15
Thanks.
I forgot about fpu. Long time using sse,avx |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.