cnd has asked for the wisdom of the Perl Monks concerning the following question:
But they are not default:-#perl -e 'use Config;print "long doubles\n" if $Config{d_longdbl} eq " +define";' long doubles
So how do I force their use?# perl -e 'use Config;if ($Config{uselongdouble} eq "define") {print " +long doubles by default\n";} else {print "not default? How to use???\ +n"}' not default? How to use???
I do not want to use external modules, and yes, I know all about base-2 and float precision.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I use "Long Doubles" in perl?
by dave_the_m (Monsignor) on May 19, 2018 at 15:34 UTC | |
by cnd (Acolyte) on May 20, 2018 at 06:38 UTC | |
by syphilis (Archbishop) on May 20, 2018 at 09:02 UTC | |
|
Re: How do I use "Long Doubles" in perl?
by Tux (Canon) on May 20, 2018 at 08:05 UTC | |
|
Re: How do I use "Long Doubles" in perl?
by BrowserUk (Patriarch) on May 19, 2018 at 14:50 UTC |