-
Notifications
You must be signed in to change notification settings - Fork 551
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
limited exponent range in hex fp literal with long double #15512
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgWith x86 80-bit long double: $ perl -MData::Float -lwe 'print 0x1p-1074' Observe that a hex floating point literal with exponent below -1074 What's special about -1074 is that 2**-1074 is the smallest power of Perl Info
|
From @sisyphus-----Original Message-----
With perl 5, version 24, subversion 0 (v5.24.0) built for However, with perl 5, version 24, subversion 0 (v5.24.0) built for C:\>perl -lwe "print 0x1p-1074" C:\>perl -lwe "print 0x1p-1075" C:\>perl -lwe "print 0x1p-1076" Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgsisyphus1@optusnet.com.au wrote:
Weird. Perhaps double on that platform is actually the 80-bit type? -zefram |
From @sisyphus-----Original Message-----
No. "Double" is the normal 64-bit type. I've a vague notion that there might be some relevant mingw-specific stuff
Both builds have the 80-bit extended precision 'long double' as the NV - For the 64-bit build (which exhibits the problem): ################################################ Platform: Characteristics of this binary (from libperl): For the 32-bit build (which does not exhibit the problem): ################################################ Platform: Characteristics of this binary (from libperl): Cheers, |
From @dcollinsnI noticed that Jarkko committed the following to blead: Branch: blead However, the following tests fail on quadmath builds: # Failed test 106 - at op/hexfp.t line 250 I'll copy him, since he's already done work on this ticket. |
From [Unknown Contact. See original ticket]I noticed that Jarkko committed the following to blead: Branch: blead However, the following tests fail on quadmath builds: # Failed test 106 - at op/hexfp.t line 250 I'll copy him, since he's already done work on this ticket. |
From @jhihttp://perl5.git.perl.org/perl.git/commitdiff/7301378635b35757b228e07c14276afaf06a4728 |
From @jhiMarking resolved until proven otherwise. |
@jhi - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128919 (status was 'resolved')
Searchable as RT128919$
The text was updated successfully, but these errors were encountered: