tan property Null safety

NormalOperation tan
final

Implementation

static final NormalOperation tan = NormalOperation.floatOnly(
    floatCalc: (Model m) {
      m.resultXF = dart.tan(m.xF * m.trigMode.scaleFactor);
    },
    complexCalc: (Model m) {
      // Always in radians - see 15C manual p. 131, "For the trigonometric..."
      m.resultXC = m.xC.tan();
    },
    name: 'TAN');