sin property Null safety

NormalOperation sin
final

Implementation

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