[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Negative double weirdness
From: |
Steve Emsley |
Subject: |
Negative double weirdness |
Date: |
Mon, 29 Jun 1998 01:48:34 +0100 |
Marcus,
Maybe I'm too close to this to see what's happening:
I upgraded libffi-1.17 to libffi-1.18 while upgrading to v1.2 but I
guess that isn't the cause since v1.1 seems to work OK with the new
version.
rad = 6.956807e-01
pow(trans, airmass) = 4.597215e-01
0.6956807*0.4597215 = 3.198194e-01
rad*0.4597215 = 3.198194e-01
BUT
rad*pow(trans, airmass) = -4.597215e-01 WRONG!
WHERE
trans = 6.410000e-01
airmass = 1.747446e+00
pow(0.641,1.747446) = 4.597215e-01
0.6956807*pow(0.641,1.747446) = 3.198194e-01
rad*pow(0.641,1.747446) = 3.198194e-01
rad*pow(0.641,airmass) = 3.198194e-01 #1
rad*pow(trans,1.747446) = 3.198194e-01 #2
AAARGH!
rad*pow(trans,airmass) = -4.597215e-01 #3 WRONG!
But, pointing SWARMHOME to v1.1
rad*pow(trans,airmass) = 3.198194e-01 CORRECT
As you can see I've exercised all the options but find myself no
nearer a solution. Will some zen master wack me over the head and
bring me to enlightenment!
That #1 && #2 are true but #3 is false, if and only if using v1.2,
gives me a headache!
Steve.
--
---------------------------------------------------------------------
Steve Emsley Ecosystems Analysis & Management Group
address@hidden University of Warwick, England
http://www.oikos.warwick.ac.uk/~sme/ (+44) (0)1598 753648
---------------------------------------------------------------------
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================
- Negative double weirdness,
Steve Emsley <=