d4a2c46ac6
Enhance test cases, including enabling loopback testing on cpp_dec_float io. [SVN r77948]
153 lines
3.4 KiB
XML
153 lines
3.4 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_eg2</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>2</mn>
|
|
</mrow>
|
|
</mfenced>
|
|
<mspace width="1em"/>
|
|
<mspace width="1em"/>
|
|
<mtable>
|
|
<mtr>
|
|
<mtd>
|
|
<msub>
|
|
<mi>m</mi>
|
|
<mn>1</mn>
|
|
</msub>
|
|
</mtd>
|
|
<mtd>
|
|
<mo>=</mo>
|
|
</mtd>
|
|
<mtd>
|
|
<mfrac>
|
|
<mrow>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>+</mo>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
<mo>−</mo>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>−</mo>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
</mrow>
|
|
<mrow>
|
|
<mn>2</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfrac>
|
|
</mtd>
|
|
</mtr>
|
|
<mtr>
|
|
<mtd>
|
|
<msub>
|
|
<mi>m</mi>
|
|
<mn>2</mn>
|
|
</msub>
|
|
</mtd>
|
|
<mtd>
|
|
<mo>=</mo>
|
|
</mtd>
|
|
<mtd>
|
|
<mfrac>
|
|
<mrow>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>+</mo>
|
|
<mn>2</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
<mo>−</mo>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>−</mo>
|
|
<mn>2</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
</mrow>
|
|
<mrow>
|
|
<mn>4</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfrac>
|
|
</mtd>
|
|
</mtr>
|
|
<mtr>
|
|
<mtd>
|
|
<msub>
|
|
<mi>m</mi>
|
|
<mn>3</mn>
|
|
</msub>
|
|
</mtd>
|
|
<mtd>
|
|
<mo>=</mo>
|
|
</mtd>
|
|
<mtd>
|
|
<mfrac>
|
|
<mrow>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>+</mo>
|
|
<mn>3</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
<mo>−</mo>
|
|
<mi>f</mi>
|
|
<mfenced>
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>−</mo>
|
|
<mn>3</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfenced>
|
|
</mrow>
|
|
<mrow>
|
|
<mn>6</mn>
|
|
<mi>d</mi>
|
|
<mi>x</mi>
|
|
</mrow>
|
|
</mfrac>
|
|
</mtd>
|
|
</mtr>
|
|
</mtable>
|
|
</mrow>
|
|
</math>
|
|
</body>
|
|
</html>
|
|
|