Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX
- X-seq: zsh-workers 30651
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Jérémie Roquet <arkanosis@xxxxxxxxx>
- Subject: Re: PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX
- Date: Mon, 3 Sep 2012 16:40:37 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3V1EL/TBFhfxQEm6pi3w3p9wgp7D+MWW31wb08W0kQk=; b=Yp7J1myx76DchiPgz8XnSMshHA5kLo2G9Olfb6r53OP+W35CD1wC+VmlERrobm1wnV QlctkcaowH15bhIbPByarnOqgxRYGAnOOXb2iYmFuIEaXY+B/50L7Xw1zVKkmjbAGmfK L/wKJquxfNaqk1vV+6Cb2EEIr1Fx4ZOhVgqInRIxSwaDwbV3vhMWCc3OHG9nq8ovxRap wVB2RSS6BceGNsF619C+xbfslIYtSuWxzyWHassXx/PcDEEspKO3cFRNZWF5uYjWBCqM dRtWKSYoC1PUo2nlN7py1Z9Mk5xqa3+jbsIzBBJtZnq4SeiecqRMbhQePLd665Pz7DVm I90A==
- In-reply-to: <CAFOazAPwkJ25FDNL--AtCFLFK2CWKHiOCyCJudx3qgK7LKcDGg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAFOazAPwkJ25FDNL--AtCFLFK2CWKHiOCyCJudx3qgK7LKcDGg@mail.gmail.com>
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