private function encodeSignedNumber($num)
    {
        $sgn_num = $num << 1;
        if ($num < 0) {
            $sgn_num = ~($sgn_num);
        }
        return $this->encodeNumber($sgn_num);
    }
private function encodeSignedNumber($num)
    {
        $sgn_num = $num << 1;
        if ($num < 0) {
            $sgn_num = ~($sgn_num);
        }
        return $this->encodeNumber($sgn_num);
    }
private function encodeSignedNumber ( $ num ) { $ sgn_num = $ num << 1 ; if ( $ num < 0 ) { $ sgn_num = ~ ( $ sgn_num ) ; } return $ this -> encodeNumber ( $ sgn_num ) ; }
Encodes a signed number

@param float $num

@return string
Encodes a signed number