in reply to Re^4: Defining an XS symbol in the Makefile.PL
in thread Defining an XS symbol in the Makefile.PL
Actually, what you are actually doing is probably a better option
Yes, it now looks that way to me. I had no idea it would be so difficult, yet I still haven't found a way.
q["-DMY_FORMAT=""%.16e"""] doesn't work either.
I think it's time to give up on my initial idea and just stick with what I've got.
Thanks for the feedback. I'll go with that variation you posted as it reads a bit better - though I don't want the #error option.
(If LU_NV_BITS is neither 64 nor 80 then we simply set MY_FORMAT to "%.36" safe in the knowledge that it will be sufficient.)
Update: I changed my mind and included the "#error" part of the pre-processing. It makes good defensive sense to include it.
Cheers,
Rob
Yes, it now looks that way to me. I had no idea it would be so difficult, yet I still haven't found a way.
q["-DMY_FORMAT=""%.16e"""] doesn't work either.
I think it's time to give up on my initial idea and just stick with what I've got.
Thanks for the feedback. I'll go with that variation you posted as it reads a bit better - though I don't want the #error option.
(If LU_NV_BITS is neither 64 nor 80 then we simply set MY_FORMAT to "%.36" safe in the knowledge that it will be sufficient.)
Update: I changed my mind and included the "#error" part of the pre-processing. It makes good defensive sense to include it.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Defining an XS symbol in the Makefile.PL
by jcb (Parson) on Aug 18, 2019 at 22:35 UTC | |
by syphilis (Archbishop) on Aug 19, 2019 at 01:40 UTC | |
by jcb (Parson) on Aug 19, 2019 at 02:40 UTC | |
by syphilis (Archbishop) on Aug 19, 2019 at 14:04 UTC | |
by jcb (Parson) on Aug 19, 2019 at 22:33 UTC | |
|
In Section
Seekers of Perl Wisdom