Hi Luis,
I'm not a PDL expert, just a hobbyist. In my understanding, reducing
the set of GenericTypes will limit the generated type-loop to this set
and will cause any input arguments outside of this type set to be
converted first. This would mean that a large integer vector will be
con
Hi Jörg,
Thanks. It does work. I have a question: if the input is some large
vector of some kind of integers, is it first converted to a float
vector with this solution? Should the possible space wasted be a
concern?
Regards,
Luis
I guess, is that
On Thu, Jul 24, 2025 at 07:19:50PM +, Jörg
Hello Luis,
probably this does the trick:
pp_def('magnover',
HandleBad => 1,
Pars => "a(n); real [o]b();",
GenericTypes => [qw(H C G E D F)],
Then in t/ufunc.t (line 106) the expected type just needs to be
changed from 'cdouble' to 'double'.
Integer types will be promoted to float an
On Wed, Jul 23, 2025 at 11:56:00AM +, Jörg Sommrey wrote:
> Hello Luis,
>
> the results look fine when the expected types in the two failing tests are
> adjusted. Don't know if it would break any "real" code, maybe "is_pdl" is
> just too strict here.
I believe there are good reasons for the qu