[LISPWORKS][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


2.4.8.7 Sharpsign B

#Brational reads rational in binary (radix 2). For example,

 #B1101 ==  13 ;11012
 #b101/11 ==  5/3

The consequences are undefined if the token immediately following the #B does not have the syntax of a binary (i.e., radix 2) rational.


The following X3J13 cleanup issue, not part of the specification, applies to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.