Skip to content

Quadruple-precision #169

Answered by bluescarni
SkyScriptor asked this question in Q&A
Discussion options

You must be logged in to vote

@SkyScriptor OSX compilers do not provide the __float128 floating-point type on top of which mp++'s and heyoka's quadruple precision support is implemented. If you want true quadruple-precision support, you will have to build heyoka/heyoka.py on a Linux machine.

As a (probably-better) alternative, you can enable multiprecision support and use that to work in quadruple precision (i.e., by selecting a mantissa of 113 bits). According to my testing, this is only slightly slower than "native" quadruple precision, and multiprecision is supported on all platforms.

In order to enable multiprecision computations, you first need to:

  • compile and install the mp++ library with the option MPPP_WITH_M…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SkyScriptor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants