cosh property Null safety

NormalOperation cosh
final

Implementation

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