zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: "Jérémie Roquet" <arkanosis@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX
Date: Mon, 3 Sep 2012 16:40:37 +0200	[thread overview]
Message-ID: <CAHYJk3RU_DubPO+gcuSxW3qh6Oc2sshDC0=swbQh5t+p+8fckg@mail.gmail.com> (raw)
In-Reply-To: <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@gmail.com> 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.


  reply	other threads:[~2012-09-03 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 14:32 Jérémie Roquet
2012-09-03 14:40 ` Mikael Magnusson [this message]
2012-09-03 14:57   ` Peter Stephenson
2012-09-03 15:08     ` Jérémie Roquet
2012-09-03 16:26       ` Vincent Lefevre
2012-09-04 18:26         ` Peter Stephenson
2012-09-04 23:50           ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHYJk3RU_DubPO+gcuSxW3qh6Oc2sshDC0=swbQh5t+p+8fckg@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=arkanosis@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).