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


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.3.2, 2023, generated by texi2html.