prev  ( testsuite > Topics > ElementaryMathExamples > rec3-ElementaryMathExamples-12  )  next (show test run result)

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Topics/ElementaryMathExamples/rec3-ElementaryMathExamples-12
CVS-ID:
Author:MathML3
Description:MathML3 specification example

passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)


Sample Rendering:

Created by: MathML REC

Your browser's rendering:

3 435,3 1306 12 10 9 16 15 1,0 9 1

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML" decimalpoint=",">

<mlongdiv longdivstyle="righttop">
  <mn> 3 </mn>
  <mn> 435,3</mn>

  <mn> 1306</mn>

  <msgroup position="2" shift="-1">
    <msgroup>
      <mn> 12</mn>
      <msline length="2"/>
    </msgroup>
    <msgroup>
      <mn> 10</mn>
      <mn> 9</mn>
      <msline length="2"/>
    </msgroup>
    <msgroup>
      <mn> 16</mn>
      <mn> 15</mn>
      <msline length="2"/>
      <mn> 1,0</mn>           <!-- aligns on ',', not the right edge ('0') -->
    </msgroup>
    <msgroup position="-1">   <!-- extra shift to move to the right of the "," -->
       <mn> 9</mn>
      <msline length="3"/>
      <mn> 1</mn>
    </msgroup>
  </msgroup>
</mlongdiv>

</math>