Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-is_uge

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  is_uge   Lines 1424-1443 (19 lines) file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function is_uge $a$b )
        {
#-k     math is
#       Unsigned GE
#       return true if a '>=' b
#-s     See also: rem fix is_ugt umax

        
if (($a >= 0)  and  ($b >= 0))
                {                                               
# a+ & b+, so do compare
                
if ($a >= $b)   return true;
                else            return 
false;
                }
        elseif (
$a >= 0)                { return false; }       # a+ & b-, so b greater
        
else
                {                                               
# a- & b-, so do opposite compare
                
if ($a <= $b) return true;
                }
        return 
false;
        }

?>