Top
Back: flintQ
Forward: fprintf
FastBack:
FastForward:
Up: Singular Manual
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.45 Float

Syntax:
Float ( )
Float ( int_expression )
Float ( int_expression , int_expression )
Type:
cring
Purpose:
returns a coefficient ring of floating point (inexact) real number to be used in ring definitions.
Example:
 
  ring R1=Float(),(x,y),dp;
  R1;
==> // coefficients: Float()
==> // number of vars : 2
==> //        block   1 : ordering dp
==> //                  : names    x y
==> //        block   2 : ordering C
  ring R2=Float(10,20),(a,b),dp;
  R2;
==> // coefficients: Float(10,20)
==> // number of vars : 2
==> //        block   1 : ordering dp
==> //                  : names    a b
==> //        block   2 : ordering C
See cring; ring.


Top Back: flintQ Forward: fprintf FastBack: FastForward: Up: Singular Manual Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.4.0, 2024, generated by texi2html.