src/Chippyash/Math/Type/Comparator/Native.php
protected function intFloatCompare(NI $a, NI $b)
    {
        return $this->rationalCompare(
            RationalTypeFactory::fromFloat($a->asFloatType()),
            RationalTypeFactory::fromFloat($b->asFloatType())
        );
    }
protected function intFloatCompare(NI $a, NI $b)
    {
        return $this->rationalCompare(
            RationalTypeFactory::fromFloat($a->asFloatType()),
            RationalTypeFactory::fromFloat($b->asFloatType())
        );
    }
protected function intFloatCompare ( NI $ a , NI $ b ) { return $ this -> rationalCompare ( RationalTypeFactory :: fromFloat ( $ a -> asFloatType ( ) ) , RationalTypeFactory :: fromFloat ( $ b -> asFloatType ( ) ) ) ; }
Compare int and float types

@param  NI $a
@param  NI $b
@return int
Compare int and float types