Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX



See also this thread,
http://www.zsh.org/mla/workers/2011/msg00613.html

On 03/09/2012, Jérémie Roquet <arkanosis@xxxxxxxxx> wrote:
> Hello,
>
> $ echo $[ - 2**63 / -1 ]
> zsh: floating point exception  ./Src/zsh
>
> $ echo $[ - 2**63 % -1 ]
> zsh: floating point exception  ./Src/zsh
>
> The attached patch fixes this.



Messages sorted by: Reverse Date, Date, Thread, Author