Re: Re: where can / must one activate 'LONG DOUBLES'? - works to some extend, feedback and additional questions
- From: Morten Welinder <mortenw gnome org>
- To: newbie nullzwei <newbie-02 gmx de>
- Cc: Gnumeric Forum <gnumeric-list gnome org>
- Subject: Re: Re: where can / must one activate 'LONG DOUBLES'? - works to some extend, feedback and additional questions
- Date: Sun, 19 Sep 2021 11:18:44 -0400
GOAccumulator usage goes something like this:
void *state = go_accumulator_start ();
GOAccumulator *acc = go_accumulator_new ();
go_accumulator_add (acc, d1);
go_accumulator_add (acc, d2);
go_accumulator_add (acc, d3);
go_accumulator_add (acc, d4);
double res = go_accumulator_value (acc);
go_accumulator_free (acc);
go_accumulator_end (state);
The only thing magic here is "state" which relates to cpu state
(precision mode, rounding mode) and isn't particularly relevant for
modern cpus.
M.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]