Re: Integer operations are implementation-defined
| From: | Andrea Faulds | Date: | Sun, 03 Aug 2014 19:34:01 +0000 |
| Subject: | Re: Integer operations are implementation-defined | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-283@lists.php.net to get a copy of this message | ||
On 1 Aug 2014, at 12:20, Andrea Faulds <ajf@ajf.me> 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/