New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cygwin: trunc(2.75) is broken somewhere on long double builds #15459
Comments
From @dcollinsnHello! I'm seeing the following test failure on Cygwin long double builds. Threads are not required, building with the following is adequate: ./Configure -Dusedevel -des -Duselongdouble -Accflags=-D_GNU_SOURCE -Alibswanted=cygwin && make test_prep The two -A on the Configure line are workarounds to RT #128358 and RT #128637 dcollins@DESKTOP-ER38TCQ ~/perlstable use POSIX ':math_h_c99'; is(trunc(2.25), 2, "trunc 2.25"); dcollins@DESKTOP-ER38TCQ ~/perlstable Characteristics of this binary (from libperl): -- |
From @dcollinsnIn particular, trunc() seems to be using round towards nearest, ties to On Mon, Jul 18, 2016 at 1:34 PM, Dan Collins <perlbug-followup@perl.org>
|
From Stromeko@nexgo.deDan Collins writes:
This seems to be a bug in Cygwin. The code in question was imported Regards, DIY Stuff: |
The RT System itself - Status changed from 'new' to 'open' |
From @dcollinsnOn Mon Jul 18 12:43:19 2016, Stromeko@nexgo.de wrote:
Maybe. MinGW-w64 x86_64 builds have this entire test program (ext/POSIX/t/math.t) failing after test 28 in my build logs, so I'll have to look a bit more closely once I have that computer in front of me. -- |
From Stromeko@nexgo.deDan Collins via RT writes:
It was a bug in Cygwin that only affected truncl by sheer luck. Will be Regards, Factory and User Sound Singles for Waldorf Q+, Q and microQ: |
From @dcollinsnOn Mon Jul 18 12:57:18 2016, Stromeko@nexgo.de wrote:
Glad to hear it. Porters: my current builds of perl using the MinGW-w64 compilers are not affected, this is cygwin only. -- |
Migrated from rt.perl.org#128665 (status was 'open')
Searchable as RT128665$
The text was updated successfully, but these errors were encountered: