public function cosec(int $scale = null): Decimal
    {
        $sin = $this->sin($scale + 2);
        if ($sin->isZero()) {
            throw new \DomainException(
                "The cosecant of this 'angle' is undefined."
            );
        }

        return DecimalConstants::one()->div($sin)->round($scale);
    }
public function cosec(int $scale = null): Decimal
    {
        $sin = $this->sin($scale + 2);
        if ($sin->isZero()) {
            throw new \DomainException(
                "The cosecant of this 'angle' is undefined."
            );
        }

        return DecimalConstants::one()->div($sin)->round($scale);
    }
public function cosec ( int $ scale = null ) : Decimal { $ sin = $ this -> sin ( $ scale + 2 ) ; if ( $ sin -> isZero ( ) ) { throw new \ DomainException ( "The cosecant of this 'angle' is undefined." ) ; } return DecimalConstants :: one ( ) -> div ( $ sin ) -> round ( $ scale ) ; }
Calculates the cosecant of this with the highest possible accuracy
Note that accuracy is limited by the accuracy of predefined PI;

@param integer $scale
@return Decimal
Calculates the cosecant of this with the highest possible accuracy Note that accuracy is limited by the accuracy of predefined PI ;