src/Chippyash/Math/Type/Traits/CheckFloatTypes.php
protected function checkFloatTypes(NumericTypeInterface $a, NumericTypeInterface $b)
    {
        $a1 = ($a instanceof FloatType ? $a : $a->asFloatType());
        $b1 = ($b instanceof FloatType ? $b : $b->asFloatType());

        return [$a1, $b1];
    }
protected function checkFloatTypes(NumericTypeInterface $a, NumericTypeInterface $b)
    {
        $a1 = ($a instanceof FloatType ? $a : $a->asFloatType());
        $b1 = ($b instanceof FloatType ? $b : $b->asFloatType());

        return [$a1, $b1];
    }
protected function checkFloatTypes ( NumericTypeInterface $ a , NumericTypeInterface $ b ) { $ a1 = ( $ a instanceof FloatType ? $ a : $ a -> asFloatType ( ) ) ; $ b1 = ( $ b instanceof FloatType ? $ b : $ b -> asFloatType ( ) ) ; return [ $ a1 , $ b1 ] ; }
Check for float type, converting if necessary

@param  NumericTypeInterface $a
@param  NumericTypeInterface $b
@return array [FloatType, FloatType]
Check for float type converting if necessary