LB Booster
« Numeric precision »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:54am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Numeric precision  (Read 147 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Numeric precision
« Thread started 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.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls