cosInverse property Null safety

NormalOperation cosInverse
final

Implementation

static final NormalOperation cosInverse = NormalOperationShiftedArg.floatOnly(
    argShift: Operations.gShift,
    programListingArgName: 'g (i)',
    floatCalc: (Model m) {
      m.resultXF = dart.acos(m.xF) / m.trigMode.scaleFactor;
    },
    complexCalc: (Model m) {
      // Always in radians - see 15C manual p. 131, "For the trigonometric..."
      m.resultXC = m.xC.acos();
    },
    name: 'COS-1');