Re: Gauging Interest:RFC to add map() function

From: Date: Wed, 26 Jun 2013 16:17:02 +0000
Subject: Re: Gauging Interest:RFC to add map() function
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-67890@lists.php.net to get a copy of this message
On Wed, 2013-06-26 at 16:09 +0000, Jeremy Curcio wrote: > > The above examples are just a few that stick out to me I'm sure that > looking through the list of available math functions would provide a > few more examples. Keeping these examples in mind, I don't follow the > logic of range mapping being too easy to implement manually whenever > it is needed to not warrant being included in core. The mentioned functions are very very very common math functions. Your map() is relatively specialized. johannes

« previous php.internals (#67890) next »