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


Top Back: primL Forward: intRoot FastBack: FastForward: Up: crypto_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.