urning only three bits into `quo`.
--
Best regards,
lh_mouse
2016-09-12
-
发件人:"K. Frank"
发送日期:2016-09-12 22:23
收件人:mingw64
抄送:
主题:Re: [Mingw-w64-public] Wrong quotient results of `rem
Hello Lefty!
I do think you have found a bug here, and it does appear to
be in the mingw-w64 code. Disclaimer: I don't understand
this completely.
Further comments in line, below.
On Tue, Sep 6, 2016 at 11:52 PM, lhmouse wrote:
> More likely a bug in mingw-w64:
>
> #include
> #includ
More likely a bug in mingw-w64:
#include
#include
volatile double x = 10.001000, y = -1.299000;
int main(){
int quo;
double rem = remquo(x, y, &quo);
printf("rem = %f, quo = %d\n", rem, quo);
}
With mingw-w64 this program gives the following output:
Best regards,
lh_mouse
2016-09-06
-
发件人:"lhmouse"
发送日期:2016-09-05 23:08
收件人:mingw-w64-public,lhmouse
抄送:
主题:Re: [Mingw-w64-public] Wrong quotient results of `remquo()`?
Found an example on cppreference:
http://en.cppreference.com/w/cp
发件人:"lhmouse"
发送日期:2016-09-05 22:27
收件人:mingw-w64-public
抄送:
主题:[Mingw-w64-public] Wrong quotient results of `remquo()`?
Hello guys,
I am testing my `remquo()` implementation when I find that `remquo`
on Linux (using glibc) and on Windows (using mingw-w64) generate
different r
Hello guys,
I am testing my `remquo()` implementation when I find that `remquo`
on Linux (using glibc) and on Windows (using mingw-w64) generate
different results. I don't think this is the correct behavior. Any ideas?
The testcases in file `remquo.txt` the attached zip file was generated
on my VP