nasmdoc: clarify __float*__ example

This commit is contained in:
H. Peter Anvin 2007-09-24 12:52:09 -07:00
parent ea043ef039
commit dee8eaa967

View File

@ -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