Home Online Manual
Top
Back: jOft
Forward: HilbertClassPoly
FastBack: aksaka_lib
FastForward: crypto_lib
Up: atkins_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.2.10 round

Procedure from library atkins.lib (see atkins_lib).

Usage:
round(r);

Return:
the nearest number to r out of Z

Assume:
r should be a rational or a real number

Example:
 
LIB "atkins.lib";
ring R = (real,50),x,dp;
number r=7357683445788723456321.6788643224;
round(r);
==> 7357683445788723456322