Top
Back: 3.9.6 template_lib
Forward: 3.9.6.2 mtripple
FastBack: 3. General concepts
FastForward: 4. Data types
Up: 3.9.6 template_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

3.9.6.1 mdouble

Procedure from library template.lib (see template_lib).

Usage:

mdouble(i); i int

Return:

int: i+i

Note:

Help string is in pure ASCII
this line starts on a new line since previous line is short mdouble(i): no new line

Example:

 
LIB "template.lib";
mdouble(0);
→ 0
mdouble(-1);
→ -2

See also: Typesetting of help strings; msum; mtripple.


Top Back: 3.9.6 template_lib Forward: 3.9.6.2 mtripple FastBack: 3. General concepts FastForward: 4. Data types Up: 3.9.6 template_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.