In message <[EMAIL PROTECTED]>,
    Joshua Hoblitt writes:

: Can you send the post the output of `prove -v t/op/trans.t`?  I suspect
: that atan2() may be misbehaving on cygwin in the same way that it does
: on Solaris.

After upping to r10836, I needed the following patch to build:

Index: src/classes/os.pmc
===================================================================
--- src/classes/os.pmc  (revision 10836)
+++ src/classes/os.pmc  (working copy)
@@ -20,6 +20,7 @@
 */
 
 #include "parrot/parrot.h"
+#include <limits.h>
 
 static PMC * OS_PMC;
 pmclass OS singleton {

The output of the requested command is below:

$ prove -v t/op/trans.t
t/op/trans....1..19
ok 1 - sin
ok 2 - cos
ok 3 - tan
ok 4 - sec
ok 5 - atan
ok 6 - asin
ok 7 - acos
ok 8 - asec
ok 9 - cosh
ok 10 - sinh
ok 11 - tanh
ok 12 - sech

#     Failed test (t/op/trans.t at line 313)
#          got: 'ok 1
# ok 2
# ok 3
# ok 4
not ok 13 - atan2
# ok 5
# ok 6
# ok 7
# ok 8
# ok 9
# ok 10
# ok 11
# ok 12
# ok 13
# ok 14
# ok 15
# ok 16
# not 0.000000ok 17
# '
#     expected: 'ok 1
# ok 2
# ok 3
# ok 4
# ok 5
# ok 6
# ok 7
# ok 8
# ok 9
# ok 10
# ok 11
# ok 12
# ok 13
# ok 14
# ok 15
# ok 16
# ok 17
# '
ok 14 - log2
ok 15 - log10
ok 16 - ln
ok 17 - exp
ok 18 - pow
ok 19 - sqrt
# Looks like you failed 1 test of 19.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 13
        Failed 1/19 tests, 94.74% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/op/trans.t    1   256    19    1   5.26%  13
Failed 1/1 test scripts, 0.00% okay. 1/19 subtests failed, 94.74% okay.

Enjoy,
Greg

Reply via email to