Re: note 101057 added to function.min

From: Date: Tue, 23 Nov 2010 20:56:29 +0000
Subject: Re: note 101057 added to function.min
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174297@lists.php.net to get a copy of this message
Removed the below note accidentally. Re-adding now. On Tue, Nov 23, 2010 at 15:48, <phpatkeithtylerdotcom@osu1.php.net> wrote: > If NAN is the first argument to min(), the second argument will always be returned. > > If NAN is the second argument, NAN will always be returned. > > The relationship is the same but inverted for max(). > > <?php > // \n's skipped for brevity > print max(0,NAN); > print max(NAN,0); > print min(0,NAN); > print min(NAN,0); > ?> > > Returns: > 0 > NAN > NAN > 0 > ---- > Server IP: 64.71.164.2 > Probable Submitter: 174.46.204.200 > ---- > Manual Page -- http://www.php.net/manual/en/function.min.php > Edit        -- https://master.php.net/note/edit/101057 > Del: integrated  -- > https://master.php.net/note/delete/101057/integrated > Del: useless     -- > https://master.php.net/note/delete/101057/useless > Del: bad code    -- > https://master.php.net/note/delete/101057/bad+code > Del: spam        -- > https://master.php.net/note/delete/101057/spam > Del: non-english -- > https://master.php.net/note/delete/101057/non-english > Del: in docs     -- > https://master.php.net/note/delete/101057/in+docs > Del: other reasons-- https://master.php.net/note/delete/101057 > Reject      -- https://master.php.net/note/reject/101057 > Search      -- https://master.php.net/manage/user-notes.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/

« previous php.notes (#174297) next »