projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea043ef
)
nasmdoc: clarify __float*__ example
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 24 Sep 2007 19:52:09 +0000
(12:52 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 24 Sep 2007 19:52:09 +0000
(12:52 -0700)
doc/nasmdoc.src
patch
|
blob
|
history
diff --git
a/doc/nasmdoc.src
b/doc/nasmdoc.src
index
ba5d9cb
..
cdcb6b9
100644
(file)
--- a/
doc/nasmdoc.src
+++ b/
doc/nasmdoc.src
@@
-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