LB Booster
Programming >> Compatibility with LB4 >> Numeric precision
http://lbb.conforums.com/index.cgi?board=compatibility&action=display&num=1488376942

Numeric precision
Post by Richard Russell on Mar 1st, 2017, 1:02pm

A question has recently been asked at the Just BASIC forum about numeric precision. To illustrate the improvement possible by using LBB it is only necessary to run this one-line program which displays the value of PI:

Code:
    print using("#.###################", 4*atn(1)) 

Results are as follows:

JB 1.01:3.1415926535897931776
LB 4.5.0:3.1415926535897931776
LBB 3.07:3.1415926535897932380
Actual:3.1415926535897932384...

Richard.