llvm-c++-api

What does AP stand for in llvm::APFloat and llvm::APInt?


https://llvm.org/doxygen/classllvm_1_1APFloat.html
https://llvm.org/doxygen/classllvm_1_1APInt.html

I'd appreciate if you could answer the question.


Solution

  • The AP in APFloat stands for Arbitrary Precision, which means it can be used for calculations with very large precision. See also Arbitrary-precision arithmetic on Wikipedia.