conv-pi

POD

=encoding utf8

NAME

conv-pi.raku -- converting Ļ€ to a radix other than 10

DESCRIPTION

This programme displays the value of Ļ€ in any radix (2 to 36) and with a precision equivalent to 50 radix-10 digits.

Note: the decimal point is not printed.

USAGE

raku conv-pi.raku --radix=16 --scale=15

Parameters

radix

The destination radix.

This parameter is mandatory. Allowed values are 2 to 36.

scale

The number of digits to display. The maximum allowed value depends on the radix. It is the number of digits for the conversion of a 50-digit decimal number. For example, with radix 2 you can ask for a scale of 169 digits while with radix 36 you can ask for no more than 32 digits.

This parameter is optional. Its default value is 10.

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:

https://raw.githubusercontent.com/Raku/doc/master/LICENSE

Arithmetic::PaperAndPencil v0.0.1

Simulating paper-and-pencil techniques for basic arithmetic operations

Authors

  • Jean Forget

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Arithmetic::PaperAndPencil
  • Arithmetic::PaperAndPencil::Action
  • Arithmetic::PaperAndPencil::Char
  • Arithmetic::PaperAndPencil::Label
  • Arithmetic::PaperAndPencil::Number

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.