Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How do I use "Long Doubles" in perl?

by dave_the_m (Monsignor)
on May 19, 2018 at 15:34 UTC ( #1214920=note: print w/replies, xml ) Need Help??


in reply to How do I use "Long Doubles" in perl?

d_longdbl merely means that Configure probed the C library on the build system and found that the ldexpl() function is present.

uselongdouble means that your perl was configured and built with Configure -Duselongdouble so that the floating point variables perl uses are long double.

Dave.

  • Comment on Re: How do I use "Long Doubles" in perl?

Replies are listed 'Best First'.
Re^2: How do I use "Long Doubles" in perl?
by cnd (Sexton) on May 20, 2018 at 06:38 UTC

    Ahh - interesting. Thanks! So d_longdbl is more-or-less a pointless indicator, since the missing "uselongdouble" indicates that even though it existed, it was not incorporated at compile time.

    Shame. Might have been nice to use - the uncertainty of major breakage dampens my desire to do the rebuild unfortunately... it's on an important business system...

      the uncertainty of major breakage dampens my desire to do the rebuild unfortunately

      I think that such caution is unwarranted.
      If you do the rebuild with -Duselongdouble and the build still passes its tests, then there is no major breakage.
      As regards minor breakages (ie errors not picked up by the test suite) - they are just as likely to be present in the "double" builds as in the "long double" builds.

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1214920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-05-24 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (151 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!