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


6.13.13.3 The <negative-ratnum> type

Core Type: <negative-ratnum>
Parent Type: <ratnum>

Type of negative ratnum values.

Constructor on <negative-ratnum>: <negative-ratnum> type-constructor obj

Validate obj as object of type <negative-ratnum>. Return obj itself.

Type predicate on <negative-ratnum>: <boolean> type-predicate obj

The type predicate is negative-ratnum?. Return #t if obj is an object of type <negative-ratnum>; otherwise return #f.