public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Trent Mick <trentm@activestate.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] bug in fmod on trillian [fmod(-10,1) causes core dump]
Date: Mon, 01 May 2000 18:43:59 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205058@msgid-missing> (raw)

I hope that someone appropriate (i.e. someone at Cygnus or someone on
ia64-tools) sees this message.

Some arguments to fmod() cause a segmentation fault on trillian. Examples are
fmod(-10,1), fmod(-10,0.5).


Here is a test case:

-----------> ls
Makefile  fmodbug.c
-----------> cat fmodbug.c
#include <stdio.h>
#include <math.h>

int main(void)
{
        int i;
        double d;

        d = fmod(-10.0, 1.0);
        printf("fmod(-10,1) = %f\n", d);

        return 0;
}
-----------> cat Makefile
all : fmodbug

fmodbug : fmodbug.c
        gcc -lm fmodbug.c -o fmodbug

test :
        ./fmodbug

clean :
        -rm -f fmodbug
        -rm -f core
        -rm -f *~
-----------> make
gcc -lm fmodbug.c -o fmodbug
-----------> make test
./fmodbug
make: *** [test] Segmentation fault (core dumped)
----------->


I would appreciate a reply if this reaches the proper eyes. Or, if someone
can tell me to whom this should properly reported...

Thanks,
Trent

--
Trent Mick
trentm@activestate.com




             reply	other threads:[~2000-05-01 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-01 18:43 Trent Mick [this message]
2000-05-01 19:35 ` [Linux-ia64] bug in fmod on trillian [fmod(-10,1) causes core dump] Jim Wilson

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=marc-linux-ia64-105590678205058@msgid-missing \
    --to=trentm@activestate.com \
    --cc=linux-ia64@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox