Hi Thorsten,

> (de pwilcox (X Y Z I J)
> ...
> : (rmath~pwilcox 2.7 6.20 5.4 1 3)
> (native "libRmath.so" "pwilcox" 1 (cons X 1) (cons Y 1) (cons Z 1) I "J")
> ...
> ! J
> -> NIL
> Why is that second Integer argument interpreted as transient symbol, and
> then NIL although the actual arg = 3?

This is strange. I tried the same here, and get

   (native NIL "pwilcox" 1000000 (cons X 1000000) (cons Y 1000000) (cons Z 
1000000) I J)

And I get 3 as expected for 'J'.

Note the scaled integers! It seems your *Scl is zero. But this does not explain
what you see. Are you sure you pasted exactly what you tested?


> In the docs I only find:
>     "The number of fixpoint arguments is limited to six."
> but that looks irrelevant here.

Yes, for pil64. For pil21 this no longer holds. There is no more limit on the
number of float or double arguments.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to