Thank you (all involved)!
I'm not an expert .. but a still somewhat knowledgable "consumer" of libraries such as Arb, Flint:
Notably for getting highly accurate regularized incomplete Beta functionality (the function is important in statistics & probability), I had finally found Arb which provides the _2_1 hypergeometric and also directly provides a regularized incomplete Beta via `acb_hypgeom_beta_lower()`.
This (and other nice features!) made me think that `Arb` may really be useful to be (partly) accessible from R and eventually create an `arbR` R package to the R community.
Just today working a bit on that, I noted that I really need the `sprintf*()` versions [rather than printf*()] for "output" because R needs to talk to the console and not have underlying C code directly print to stdout (*).
As there has been a push recently {new versions of clang compiler, e.g. on Apple platform} to deprecate `sprintf()` and urge developers to move to `snprintf()` instead, I was going to ask if the flint*.h headers (and the Arb ones too)
will also get snprintf() versions, Flint (released version) e.g., only has
flint.h:485: FLINT_DLL int flint_sprintf(char * s, const char * str, ...); /* flint version of sprintf */
Now I've stumbled over this Mega-Flint announcement I wonder if I should hold a bit and rather wait a couple of months, before even really starting my project.
OTOH you will keep the API back compatible with the arb library (2.32) API?
Lastly: It seems to me that the Arb library does not yet provide any sprintf* printing but always print to a file (or directly to stdout as special case), so I cannot nicely get to R strings containing formatted Arb balls.
Would you want feature requests for Arb now on the Arb side or here,
--
*) for "print"ing in my Rmpfr R package, everything is based on MPFR library's mpfr_get_str() utility which fills the formatted output into a char* string.
An analog of this I would want for Arb, Arf, .. Flint "number"s.
Of course the conversion from and to regular integer, double, .. are likewise crucially important for the interface package.
Thank you for pointers / recommendations / ..
Martin
--