HTBasic Help
×
Menu
Index
Li
Log integral.
 
Loading        LOADSUB ALL FROM "LI.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL X,Y
Y=FNLi(X)
 
Description                
FNLi returns the value of the log integral of x, Li(x). Li(x) is defined by the relation
The path of integration must not include the points x = 0 and x = 1 and must not cross the real axis.
 
The real version of Li(x) is only defined for x positive or zero.
 
Errors                
FNLi causes an HTBasic error if its argument is not of type REAL or if it is negative.
 
Li(x)
See Also                Ci, Ei, Si