Precision Math Software
#11
Jack, just a couple of kinda dumb questions. 

1) What is the "c =" for in the the calculation c = mpfr_log10(y, x, MPFR_RNDN)?   "c" does not appear to be a typical variable you are setting a value to.  I surmise that the native language for mpfr is C programming and the "c =" has something to do with using mpfr in basic/qb64?

2) While I down loaded the PDF manual for mpfr I still do not quite understand the purpose of the mpfr_set_si statement.
In your first sample program you have c= mpfr_set_si(x, i, MPFR_RNDN) prior to the log10 calc statement above.

I probably need to find a practical user manual versus the GNU mpfr technical library manual I found.

Thx--
Reply


Messages In This Thread
Precision Math Software - by dISP - 04-03-2023, 12:59 PM
RE: Precision Math Software - by bplus - 04-03-2023, 01:11 PM
RE: Precision Math Software - by Jack - 04-03-2023, 02:02 PM
RE: Precision Math Software - by RhoSigma - 04-03-2023, 03:13 PM
RE: Precision Math Software - by Jack - 04-03-2023, 03:37 PM
RE: Precision Math Software - by mnrvovrfc - 04-03-2023, 04:03 PM
RE: Precision Math Software - by dISP - 04-03-2023, 04:20 PM
RE: Precision Math Software - by dISP - 04-03-2023, 04:28 PM
RE: Precision Math Software - by Jack - 04-03-2023, 04:31 PM
RE: Precision Math Software - by dISP - 04-03-2023, 04:36 PM
RE: Precision Math Software - by dISP - 04-03-2023, 10:41 PM
RE: Precision Math Software - by Jack - 04-03-2023, 10:59 PM
RE: Precision Math Software - by dISP - 04-04-2023, 01:04 PM
RE: Precision Math Software - by Jack - 04-04-2023, 03:29 PM
RE: Precision Math Software - by dISP - 04-04-2023, 04:02 PM



Users browsing this thread: 8 Guest(s)