I15 property Null safety

NormalOperation I15
final

The HP15'c I operation, for entry of imaginary numbers.

Implementation

// ignore: non_constant_identifier_names
static final NormalOperation I15 = NormalOperation.floatOnly(
    floatCalc: (Model m) {
      m.isComplexMode = true;
      I15.complexCalc!(m);
    },
    complexCalc: (Model m) {
      final im = m.x;
      m.popStack();
      m.xImaginary = im;
    },
    name: 'I');