note 79198 added to function.asinh

From: Date: Thu, 15 Nov 2007 13:40:08 +0000
Subject: note 79198 added to function.asinh
Groups: php.notes 
Request: Send a blank email to php-notes+get-132296@lists.php.net to get a copy of this message
The correct implementation of asinh(x) for Windows plataform is: ------------------------------------------------------- function asinh($x) { return ln($x + sqrt(1 + pow($x, 2))); } function ln($x) { return $x = log($x)/log(M_E); } -------------------------------------------------------- The worksheet above includes a comparation about the native asinh(x) and the implemented version using LN and LOG (like Snoyes posted on 27-Dec-2005 07:42) http://www.mavadesign.com.br/allan/asinh(x).xls This implementation using LN, give THE SAME results that function asinh(x) linux native. Allan Patrick Engel Curitiba - Paraná - Brasil ---- Server IP: 69.147.83.197 Probable Submitter: 201.11.40.168 ---- Manual Page -- http://www.php.net/manual/en/function.asinh.php Edit -- https://master.php.net/note/edit/79198 Del: integrated -- https://master.php.net/note/delete/79198/integrated Del: useless -- https://master.php.net/note/delete/79198/useless Del: bad code -- https://master.php.net/note/delete/79198/bad+code Del: spam -- https://master.php.net/note/delete/79198/spam Del: non-english -- https://master.php.net/note/delete/79198/non-english Del: in docs -- https://master.php.net/note/delete/79198/in+docs Del: other reasons-- https://master.php.net/note/delete/79198 Reject -- https://master.php.net/note/reject/79198 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132296) next »