flat assembler
Message board for the users of flat assembler.
Index
> Main > Exponentiation in Fasm X64 Windows |
Author |
|
bitRAKE 11 May 2024, 12:04
The FPU instructions work in 64-bit.
Alternately, you'll need to code SSE functions for e^x and log b; or use a library of math functions. Another option is OleAut32.VarPow or OleAut32.VarR8Pow. Code: vmovq xmm0, [d2.0] vmovq xmm1, [d3.0] lea r8, [result] call [VarR8Pow] d2.0 dq 2.0 d3.0 dq 3.0 result dq ? _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
11 May 2024, 12:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.