Re: Solaris problems with trans.t

2001-09-29 Thread Buggs
On Saturday 29 September 2001 16:23, Gibbs Tanton - tgibbs wrote: > Ok, I've added (NV) to all of the integer trans ops arguments. See if that > helps. It gives some warnings "basic_opcodes.c", line 226: warning: statement not reached "basic_opcodes.c", line 234: warning: statement not reached

RE: Solaris problems with trans.t

2001-09-29 Thread Gibbs Tanton - tgibbs
Ok, I've added (NV) to all of the integer trans ops arguments. See if that helps. -Original Message- From: Michael G Schwern To: Buggs Cc: Gibbs Tanton - tgibbs; '[EMAIL PROTECTED] ' Sent: 9/28/2001 10:39 PM Subject: Re: Solaris problems with trans.t On Sat, Sep 29, 200

Re: Solaris problems with trans.t

2001-09-28 Thread Michael G Schwern
On Sat, Sep 29, 2001 at 05:22:41AM +0200, Buggs wrote: > if(sin(1) == sin(1.0)) The ubc cc has sin(1) as being 0.000. You have to cast it to a double. SunPRO handles it fine. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[

Re: Solaris problems with trans.t

2001-09-28 Thread Buggs
On Saturday 29 September 2001 04:45, Gibbs Tanton - tgibbs wrote: > In perl sin(1) != sin(1.0) or in C or in both? > > Also, what version of the OS is this, SunOS 5.8 works fine. Perl equal and C not equal, that is. bash-2.03$ perl -le 'if(sin(1) == sin(1.0)){print "equal"}else{print "not equal"

RE: Solaris problems with trans.t

2001-09-28 Thread Gibbs Tanton - tgibbs
In perl sin(1) != sin(1.0) or in C or in both? Also, what version of the OS is this, SunOS 5.8 works fine. -Original Message- From: Andreas "Buggs" Hauser To: [EMAIL PROTECTED] Sent: 9/28/2001 8:07 PM Subject: Solaris problems with trans.t Hoi, the solaris math functions(sin

Solaris problems with trans.t

2001-09-28 Thread Buggs
Hoi, the solaris math functions(sin() ...) do not return the same value as perl when called with an integer. This causes the trans.t to fail. On solaris sin(1) != sin(1.0). Buggs