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