comparison-Newton-gallows
POD
NAME
comparison-Newton-gallows.raku -- computing ā2 with Newton's method using various implementations
DESCRIPTION
This programme computes ā2 with 8 decimal digits using Newton's method.
The computation can use Rat
, Num
or Arithmetic::PaperAndPencil
.
When using Arithmetic::PaperAndPencil
, the programme displays a few
statistics on elementary actions and it stores the generated
CSV and HTML files.
Also, the programme may compute ā2 with the gallows method
and Arithmetic::PaperAndPencil
values. Statistics are displayed
and the CSV file is generated (but not the HTML file).
USAGE
raku conv-pi.raku comparison-Newton-gallows.raku --rat --num --paper --direct
Parameters
rat
Boolean parameter triggering the computation with Rat
values.
num
Boolean parameter triggering the computation with Num
values.
paper
Boolean parameter triggering the computation with
Arithmetic::PaperAndPencil
values.
direct
Boolean parameter triggering the computation with
Arithmetic::PaperAndPencil
values but with the gallows
method instead of Newton's method.
COPYRIGHT and LICENCE
Copyright (C) 2024, Jean Forget, all rights reserved
This programme is published under the same conditions as Raku: the Artistic License version 2.0.
The text of the license is available in the file in this repository, or you can read them at: