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

D.12.3.9 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