Hi,
I'm wondering where the Zend/zend_float.h include file is used. I'm
interested in because I'm checking the behaviour variation between PHP4
and PHP5 (*), and floating point management seems to be fixed for all
platforms in an early version of PHP5 (revision r270301).
By the way, this alteration change something for Intel 32 bit or
nothong ? It belongs the IEEE 754 ?
Thanks !
(*) I'm not guilty.
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
Seeking for a position <http://lupusmic.org/pro/
Hi
2009/7/28 Lupus Michaelis mickael+php@lupusmic.org:
Hi,
I'm wondering where the Zend/zend_float.h include file is used. I'm
interested in because I'm checking the behaviour variation between PHP4 and
PHP5 (*), and floating point management seems to be fixed for all platforms
in an early version of PHP5 (revision r270301).By the way, this alteration change something for Intel 32 bit or nothong ?
It belongs the IEEE 754 ?
The floating point behaviour was changed in PHP 5.3, as in this RFC by
Christian Seiler (cc'ed):
http://wiki.php.net/rfc/rounding
You can find where the zend_float.h file is included by a simple grep:
C:\php\src> grep -ri "zend_float" *
Zend/zend_execute_API.c:#include "zend_float.h"
Zend/zend_float.c:#include "zend_float.h"
Zend/zend_float.h:/* $Id: zend_float.h 277398 2009-03-18 10:18:10Z dmitry $ */
Zend/zend_float.h:#ifndef ZEND_FLOAT_H
Zend/zend_float.h:#define ZEND_FLOAT_H
--
regrads,
Kalle Sommer Nielsen
kalle@php.net