13.07.2015 Views

xlop-doc.pdf. - Mirror

xlop-doc.pdf. - Mirror

xlop-doc.pdf. - Mirror

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

When we write a display division, we can draw a “bridge” over the partof dividend which is taken in count for the first step of calculation. The<strong>xlop</strong> package allow to draw this symbol thanks to the boolean parameterdividendbridge (default value isfalse).1 2 5 45 42 4 003 04 1.8 source\opdiv[dividendbridge]{1254}{30}3.4.3 Non Integer Numbers and Negative NumbersThe shiftdecimalsep parameter governs non integer operands aspect/Its default value is both which indicates that decimal separator is shiftedin order to obtain integer divisor and integer dividend. The valuedivisorindicates that there is the shifting that allows an integer divisor. The valuenone indicates that there isn’t any shifting.source\opdiv[shiftdecimalsep=both]{3.456}{25.6}\quad\opdiv[shiftdecimalsep=divisor]{3.456}{25.6}\quad\opdiv[shiftdecimalsep=none]{3.456}{25.6}3 4 5 63 4 5 6 08 9 6 0 01 2 8 0 0 002 5 6 0 00.1 3 5 3 4.5 68 9 61 2 8 002 5 60.1 3 53.4 5 68 9 61 2 8 002 5.60.1 3 5Parameter strikedecimalsepsymbol gives the symbol used to showthe old place of decimal separator when this one is shifted. The defaultvalue is empty, that is, there isn’t any symbol. This explain why you don’tsee anything on previous examples.source\opset{strikedecimalsepsymbol={\rlap{,}\rule[­1pt]{3pt}{0.4pt}}}\opdiv[shiftdecimalsep=both]{3.456}{25.6}\quad\opdiv[shiftdecimalsep=divisor]{3.456}{25.6}\quad\opdiv[shiftdecimalsep=none]{3.456}{25.6}3 , 4 5 63 4 5 6 08 9 6 0 01 2 8 0 0 002 5 , 6 0 00.1 3 5 3 , 4.5 68 9 61 2 8 002 5 , 60.1 3 53.4 5 68 9 61 2 8 002 5.60.1 3 5When there is a non empty symbol for the striked decimal separator, itis possible to have non-significant zeros in operands.21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!