]> gitweb.factorcode.org Git - factor.git/commitdiff
prettyprinter, print the sign bit of NaNs
authorJon Harper <jon.harper87@gmail.com>
Mon, 15 Jun 2015 22:08:10 +0000 (00:08 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 25 Feb 2021 23:10:27 +0000 (17:10 -0600)
basis/prettyprint/backend/backend.factor

index 741ae42e7d58b8c11702468195b53be2833bfbcb..1d7434ee29f610cabe8bac853b43d3e134ce0700 100644 (file)
@@ -83,7 +83,7 @@ M: real pprint*
 
 M: float pprint*
     dup fp-nan? [
-        \ NAN: [ fp-nan-payload >hex text ] pprint-prefix
+        \ NAN: [ double>bits >hex text ] pprint-prefix
     ] [
         call-next-method
     ] if ;