Rational Numbers in Scheme

GPTKB entity

Statements (32)
Predicate Object
gptkbp:instanceOf Programming Language Feature
gptkbp:arithmeticOperations gptkb:division
addition
multiplication
subtraction
gptkbp:automaticReduction yes
gptkbp:canBeComparedWith =
>
<
<=
>=
gptkbp:convertedTo floating point
inexact numbers
integer (if denominator is 1)
gptkbp:divisionByZero error
gptkbp:exactness exact
gptkbp:example 3/4
-5/2
gptkbp:hasSyntax numerator/denominator
https://www.w3.org/2000/01/rdf-schema#label Rational Numbers in Scheme
gptkbp:librarySupport base language
gptkbp:predicateFunction rational?
gptkbp:represents exact numbers
pairs of integers
gptkbp:standardizedBy gptkb:R6RS
gptkb:R7RS
gptkb:R5RS
gptkbp:supportedBy gptkb:Scheme
gptkbp:usedFor mathematical computation
exact arithmetic
gptkbp:bfsParent gptkb:William_Clinger
gptkbp:bfsLayer 6