TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Keyword

Integers and Rationals

Description

KASH3 integers are entered as a sequence of digits optionally preceded by a '+' sign for positive integers or a '-' sign for negative integers. In KASH3, the size of integers is only limited by the amount of available memory. The binary operations '+', '-', '*', '/' allow combinations of arguments from the integers, the rationals, and real and complex fields; automatic coercion is applied where necessary.

Since integers are naturally embedded in the field of real numbers, all real functions are applicable to integers.
Rationals can be created by simply typing in the fraction using the symbol '/' to denote the division bar. The value is not converted to decimal form, however the reduced form of the fraction is found. Similarly all real functions are applicable to rationals.

Examples

4/6;
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group