All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dibyendu Majumdar <mobile@majumdar.org.uk>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: Linux-Sparse <linux-sparse@vger.kernel.org>
Subject: Re: Cast to double being removed
Date: Sun, 19 Mar 2017 15:59:05 +0000	[thread overview]
Message-ID: <CACXZuxfD_Jn8OMyE3sUcMNcJ+0CSwzFR2a_qd9w0TrZpJkxVsQ@mail.gmail.com> (raw)
In-Reply-To: <CAMHZB6HccEp3uacK_tFgxWymM+26bPS85jnTPAjqFpV+qsL70g@mail.gmail.com>

On 19 March 2017 at 15:54, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
> On Sun, Mar 19, 2017 at 4:43 PM, Dibyendu Majumdar
> <mobile@majumdar.org.uk> wrote:
>> Hi Luc,
>>>> The cast to double has been removed. I am trying to understand where
>>>> this is happening as it seems to happen quite early on. Any tips on
>>>> where I should look?
>>>
>>> This is fixed by the patch I sent two days ago:
>>>         https://patchwork.kernel.org/patch/9618765/
>>>
>>
>> I found that in the simplification phase no account is taken of the
>> fact that a constant is floating point. Please try to run this test
>> and let me know if it works.
>
> I know. It's why I already sais several times that there is several issues with
> floating point numbers.
> I'll certainly look at these issues but currently I have around 40
> pending patch series
> for others problems ...
>
>> https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/netlib/paranoia.c
>
> Interesting.
> Do you know the license of this file?
>

http://www.netlib.org/paranoia/index.html

In the source it says:

You may copy this program freely if you acknowledge its source.

I have seen it distributed in other places so I believe it is not restricted.

Regards
Dibyendu

      reply	other threads:[~2017-03-19 16:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17  0:00 Cast to double being removed Dibyendu Majumdar
2017-03-17  0:24 ` Linus Torvalds
2017-03-17  9:31   ` [PATCH] fix: expansion of integers to floats Luc Van Oostenryck
2017-03-17 10:38   ` Cast to double being removed Dibyendu Majumdar
2017-03-18  1:30     ` Dibyendu Majumdar
2017-03-19 15:22 ` Luc Van Oostenryck
2017-03-19 15:43   ` Dibyendu Majumdar
2017-03-19 15:54     ` Luc Van Oostenryck
2017-03-19 15:59       ` Dibyendu Majumdar [this message]

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=CACXZuxfD_Jn8OMyE3sUcMNcJ+0CSwzFR2a_qd9w0TrZpJkxVsQ@mail.gmail.com \
    --to=mobile@majumdar.org.uk \
    --cc=linux-sparse@vger.kernel.org \
    --cc=luc.vanoostenryck@gmail.com \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.