Artifact 3e6ed22472a1e30fdab04ab2c331283d57c518db2a31f47395abad59d91bcfd7:
- Executable file
r37/lisp/csl/html/r37_0219.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1624) [annotate] [blame] [check-ins using] [more...]
<A NAME=SCIENTIFIC_NOTATION> <TITLE>SCIENTIFIC_NOTATION</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>SCIENTIFIC\_NOTATION</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>declaration</B><P> <P> <P> <P> <P> <H3> syntax: </H3> <em>scientific_notation</em>(<m>) or <em>scientific_notation</em>({<m>,<n>}) <P> <P> <P> <m> and <n> are positive integers. <em>scientific_notation</em> controls the output format of floating point numbers. At the default settings, any number with five or less digits before the decimal point is printed in a fixed-point notation, e.g., 12345.6. Numbers with more than five digits are printed in scientific notation, e.g., 1.234567E+5. Similarly, by default, any number with eleven or more zeros after the decimal point is printed in scientific notation. <P> <P> When <em>scientific_notation</em> is called with the numerical argument m a number with more than m digits before the decimal point, or m or more zeros after the decimal point, is printed in scientific notation. When <em>scientific_notation</em> is called with a list {<m>,<n>}, a number with more than m digits before the decimal point, or n or more zeros after the decimal point is printed in scientific notation. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> on rounded; 12345.6; 12345.6 123456.5; 1.234565e+5 0.00000000000000012; 1.2e-16 scientific_notation 20; 5,11 5: 123456.7; 123456.7 0.00000000000000012; 0.00000000000000012 </TT></PRE><P>