D.12.2.11 intPart
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
intPart(x);
Return:
the integral part of a rational number
Example:
LIB "crypto.lib"; ring r=0,x,dp; intPart(7/3); ==> 2
User manual for
Singular
version 4.3.1, 2022, generated by
texi2html
.