mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
nasmdoc: clarify __float*__ example
This commit is contained in:
parent
ea043ef039
commit
dee8eaa967
@ -1432,7 +1432,9 @@ For example:
|
||||
\c mov rax,__float64__(3.141592653589793238462)
|
||||
|
||||
... would assign the binary representation of pi as a 64-bit floating
|
||||
point number into \c{RAX}.
|
||||
point number into \c{RAX}. This is exactly equivalent to:
|
||||
|
||||
\c mov rax,0x401921fb54442d18
|
||||
|
||||
NASM cannot do compile-time arithmetic on floating-point constants.
|
||||
This is because NASM is designed to be portable - although it always
|
||||
|
Loading…
x
Reference in New Issue
Block a user