Home | History | Annotate | Download | only in s390x
      1 Decimal floating point arithmetic
      2 64-bit ADD
      3 2230000000000194 + 222c000000000005 = 222c000000000cc5 cc = 2
      4 a230000000000194 + 222c000000000005 = a22c000000000cb5 cc = 1
      5 2230000000000194 + a230000000000194 = 2230000000000000 cc = 0
      6 64-bit SUBTRACT
      7 2230000000000194 - 222c000000000005 = 222c000000000cb5 cc = 2
      8 a230000000000194 - 222c000000000005 = a22c000000000cc5 cc = 1
      9 2230000000000194 - 2230000000000194 = 2230000000000000 cc = 0
     10 64-bit MULTIPLY
     11 2230000000000194 * 2238000000000007 = 22300000000008de cc = 0
     12 a230000000000194 * 2238000000000007 = a2300000000008de cc = 0
     13 a230000000000194 * 2238000000000000 = a230000000000000 cc = 0
     14 64-bit DIVIDE
     15 2238000000000022 / 2238000000000007 = 2dfcc2d74c2d74c3 cc = 0
     16 a238000000000022 / 2238000000000007 = adfcc2d74c2d74c3 cc = 0
     17 2238000000000000 / 2238000000000007 = 2238000000000000 cc = 0
     18 128-bit ADD
     19 220780000000000000000194 + 220740000000000000000005 = 220740000000000000000cc5 cc = 2
     20 a20780000000000000000194 + 220740000000000000000005 = a20740000000000000000cb5 cc = 1
     21 220780000000000000000194 + a20780000000000000000194 = 220780000000000000000000 cc = 0
     22 128-bit SUBTRACT
     23 220780000000000000000194 - 220740000000000000000005 = 220740000000000000000cb5 cc = 2
     24 a20780000000000000000194 - 220740000000000000000005 = a20740000000000000000cc5 cc = 1
     25 220780000000000000000194 - 220780000000000000000194 = 220780000000000000000000 cc = 0
     26 128-bit MULTIPLY
     27 220780000000000000000194 * 220800000000000000000007 = 2207800000000000000008de cc = 0
     28 a20780000000000000000194 * 220800000000000000000007 = a207800000000000000008de cc = 0
     29 220780000000000000000194 * 220800000000000000000000 = 220780000000000000000000 cc = 0
     30 128-bit DIVIDE
     31 220800000000000000000022 / 220800000000000000000007 = 2dffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
     32 a20800000000000000000022 / 220800000000000000000007 = adffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
     33 220800000000000000000000 / 220800000000000000000007 = 220800000000000000000000 cc = 0
     34