(C++) CLN

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) CLN CLN

 

CLN (abbreviation of 'Class Library for Numbers') is a library to work with arbitrary precision data types.

 

 

 

 

 

 

Installing CLN

 

Information about installing CLN, can be found at the page about installing CLN.

 

 

 

 

 

Porting CLN

 

Information about porting CLN, can be found at the page about porting CLN.

 

 

 

 

 

CLN data types

 

  1. cln::cl_I (integer)

 

 

 

 

 

CLN examples

 

 

 

 

 

 

Qt Creator Note for Qt Creator users

 

Add the following line to your project file (to prevent link errors):

 


LIBS += -lcln

 

 

 

 

 

My CLN review

 

In general, I'd review CLN positively.

 

Pros:

 

  • Easy to use under Linux, as it comes built with many distributions
  • According to apfloat, it is superior (compared to apfloat)

 

Cons:

 

  • I never succeeded installing under Windows
  • Code comments are in German