Is there a huge arithmetic tool kit for Ada with these characteristics for numeric variables and arrays of type HUGE where for example Pi and e are constants of 126 decimal places, and all trig functions and matrix/vector operations are supported.
“How it is done
The huge numbers are stored as strings. The first three bytes of the string contain the algebraic sign of the number and the number of decimal places. Each subsequent group of three bytes contains six digits of the number, with the least significant part coming first. The advantage is that a single huge number can be stored and manipulated as a single string rather than as a large numeric vector.”
From: Kurtz, T. 2001. Huge arithmetic toolkit. True BASIC Inc.
[Thomas E. Kurtz was co-inventor with John G. Kemeny of BASIC at Dartmouth in 1964.]
What follows for me is the result for Pi to 126 decimal places from the AdaCore 2020 pay-to-play compiler. Checking that result against some published tome seems a good starting place because C-renditions of floating point are known to vary in the past. I think AdaCore’s implementation of Ada 2020 is embellishing the gnat/gcc compiler with ornaments, if I am not mistaken.
The standard is non informative as to how compiler vendors implement big numbers but is informative to the extent handled exclusively as numeric vectors.
This means it’s only as good the C-compiler used which now engenders this question:
Are there other Ada 2022 compiler vendors, in the spirit of the question, other than AdaCore?
I couldn’t find any, implying AdaCore has a virtual monopoly, so is that in fact the case? (Yes / No)
Given that they said in the ARG meeting in the beginning of the year that they weren’t going to develop/support the PARALLEL block/for, I don’t believe that means what you think it means.
I wonder if the Karatsuba multiplication algorithm could be used in a parallel construct. The algorithm does three independent multiplications recursively. So it is 3, 9, 18.and so on tasks.
It means that when the thread goes off-topic with comments about disparate topics, such as at another topic with a reply link to a dated and unrelated topic, a volunteer succeeds to terminate the original thread within the rules of considerate discourse.