Re: [STANDARDS] Integer operations are implementation-defined
[email protected] (Andrea Faulds)
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
On 1 Aug 2014, at 12:20, Andrea Faulds <[email protected]> wrote: > I’ve made an initial pull request to change how integer overflow is defined: > > https://github.com/php/php-langspec/pull/36 > > It also now stipulates integers must be fixed-size, because this makes no real sense if they aren’t. > > However, that pull request isn’t quite complete as I need to look into also specifying the int->float and float->int conversion rules on overflow. It now explicitly specifies the float to int conversion rules, and is ready to be merged. -- Andrea Faulds http://ajf.me/