Home Online Manual
Top
Back: primL
Forward: intRoot
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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