Previous: , Up: built-in numerics   [Contents][Index]


6.13.19 Sign of numeric values

Core Type: <positive>

Type of positive numeric values. Its definition is equivalent to:

(define-type <positive>
  (or <positive-fixnum> <positive-bignum>
      <positive-ratnum> <positive-flonum>))
Core Type: <negative>

Type of negative numeric values. Its definition is equivalent to:

(define-type <negative>
  (or <negative-fixnum> <negative-bignum>
      <negative-ratnum> <negative-flonum>))
Core Type: <non-negative>

Type of non–negative numeric values. Its definition is equivalent to:

(define-type <non-negative>
  (or <non-negative-fixnum> <positive-bignum> <positive-ratnum>
      <positive-flonum> <positive-zero-flonum>))
Core Type: <non-positive>

Type of non–positive numeric values. Its definition is equivalent to:

(define-type <non-positive>
  (or <non-positive-fixnum> <negative-bignum> <negative-ratnum>
      <negative-flonum> <negative-zero-flonum>))
Core Type: <zero>

Type of zero numeric values. Its definition is equivalent to:

(define-type <zero>
  (or <zero-fixnum>  <zero-flonum>
      <zero-compnum> <zero-cflonum>))