multiprecision/doc/floating_point_eg1.mml
John Maddock d4a2c46ac6 Update examples, reorganise docs, temporarily remove HTML before rebuilding.
Enhance test cases, including enabling loopback testing on cpp_dec_float io.

[SVN r77948]
2012-04-13 15:38:28 +00:00

155 lines
3.2 KiB
XML

<?xml version='1.0'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN'
'http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd'
[<!ENTITY mathml 'http://www.w3.org/1998/Math/MathML'>]>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head><title>floating_point_eg1</title>
<!-- MathML created with MathCast Equation Editor version 0.89 -->
</head>
<body>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mfenced>
<mrow>
<mn>1</mn>
</mrow>
</mfenced>
<mspace width="1em"/>
<mspace width="1em"/>
<mtable>
<mtr>
<mtd>
<mi>f</mi>
<mo>&#x2032;</mo>
<mfenced>
<mrow>
<mi>x</mi>
</mrow>
</mfenced>
</mtd>
<mtd>
<mo>&#x2248;</mo>
</mtd>
<mtd>
<msub>
<mi>m</mi>
<mn>1</mn>
</msub>
<mo>+</mo>
<mi>O</mi>
<mfenced>
<mrow>
<mi>d</mi>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
</mfenced>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>f</mi>
<mo>&#x2032;</mo>
<mfenced>
<mrow>
<mi>x</mi>
</mrow>
</mfenced>
</mtd>
<mtd>
<mo>&#x2248;</mo>
</mtd>
<mtd>
<mfrac>
<mn>4</mn>
<mn>3</mn>
</mfrac>
<msub>
<mi>m</mi>
<mn>1</mn>
</msub>
<mo>&#x2212;</mo>
<mfrac>
<mn>1</mn>
<mn>3</mn>
</mfrac>
<msub>
<mi>m</mi>
<mn>2</mn>
</msub>
<mo>+</mo>
<mi>O</mi>
<mfenced>
<mrow>
<mi>d</mi>
<msup>
<mi>x</mi>
<mn>4</mn>
</msup>
</mrow>
</mfenced>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>f</mi>
<mo>&#x2032;</mo>
<mfenced>
<mrow>
<mi>x</mi>
</mrow>
</mfenced>
</mtd>
<mtd>
<mo>&#x2248;</mo>
</mtd>
<mtd>
<mfrac>
<mn>3</mn>
<mn>2</mn>
</mfrac>
<msub>
<mi>m</mi>
<mn>1</mn>
</msub>
<mo>&#x2212;</mo>
<mfrac>
<mn>3</mn>
<mn>5</mn>
</mfrac>
<msub>
<mi>m</mi>
<mn>2</mn>
</msub>
<mo>+</mo>
<mfrac>
<mn>1</mn>
<mn>10</mn>
</mfrac>
<msub>
<mi>m</mi>
<mn>3</mn>
</msub>
<mo>+</mo>
<mi>O</mi>
<mfenced>
<mrow>
<mi>d</mi>
<msup>
<mi>x</mi>
<mn>6</mn>
</msup>
</mrow>
</mfenced>
</mtd>
</mtr>
</mtable>
</mrow>
</math>
</body>
</html>