|
|
sybperl-l Archive
Up Prev Next
From: Greg Earle <earle at isolar dot DynDNS dot ORG>
Subject: Re: DBD::Sybase 1.07 install on Solaris 8 - failing t/exec.t test #11
Date: Nov 3 2005 11:21AM
On Nov 2, 2005, at 10:21 PM, Michael Peppler wrote:
> On Wed, 2005-11-02 at 15:03 -0800, Greg Earle wrote:
>> I added a
>>
>> print($out[0] - 5.40000000000000035527136788005009);
>>
>> after the
>>
>> print("@out\n");
>>
>> Michael suggested, and, and instead of seeing
>>
>> 5.40000000000000035527136788005009
>> 0
>>
>> as I expected, I get
>>
>> 5.40000000000000035527136788005009
>> 3.08148791101957736488956470813588e-33
>>
>> So it looks like there's no way for me to have an exact match test.
>> (So I commented that test out after all <*grin*>)
>
> Do you have long doubles enabled on your perl?
solaris8:1:42 [/] # /opt/harvestperl/bin/perl5.8.7 -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris-thread-multi-ld
uname='sunos sol7 5.7 generic_106541-20 sun4u sparc sunw,ultraax-mp
'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=define
usemymalloc=n, bincompat5005=undef
[...]
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LONG_DOUBLE
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
[...]
Apparently so. I don't recall explicitly choosing it, but
given that it's Solaris and there's 64-bit support, maybe I thought
it was the "right choice". Should I rebuild Perl to not use them?
- Greg
|