Top
Back: ASCII
Forward: binomial
FastBack: compregb_lib
FastForward: grobcov_lib
Up: general_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.3 absValue

Procedure from library general.lib (see general_lib).

Usage:
absValue(c); c int, number or poly

Return:
absValue(c); the absolute value of c

Note:
absValue(c)=c if c>=0; absValue=-c if c<=0.
So the function can be applied to any type, for which comparison
operators are defined.

Example:
 


Top Back: ASCII Forward: binomial FastBack: compregb_lib FastForward: grobcov_lib Up: general_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.