1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
diff -ru a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
--- a/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:48:00.588810485 -0500
+++ b/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:49:16.372809128 -0500
@@ -296,7 +296,7 @@
GNUNET_TIME_UNIT_ZERO,
amount_1,
MHD_HTTP_OK));
- if (eval_probability (refresh_rate / 100.0d))
+ if (eval_probability (refresh_rate / 100.0))
{
char *melt_label;
char *reveal_label;
@@ -630,7 +630,7 @@
" * Reserve=%u * Parallel=%u, operations in %s\n",
howmany_coins,
howmany_coins,
- howmany_coins * (refresh_rate / 100.0d),
+ howmany_coins * (refresh_rate / 100.0),
howmany_reserves,
howmany_clients,
GNUNET_STRINGS_relative_time_to_string (
diff -ru a/src/lib/exchange_api_stefan.c b/src/lib/exchange_api_stefan.c
--- a/src/lib/exchange_api_stefan.c 2024-10-01 14:48:00.564810485 -0500
+++ b/src/lib/exchange_api_stefan.c 2024-10-01 14:49:16.396809127 -0500
@@ -125,7 +125,7 @@
min = get_unit (keys);
if (NULL == min)
return GNUNET_SYSERR;
- if (1.0d <= keys->stefan_lin)
+ if (1.0 <= keys->stefan_lin)
{
/* This cannot work, linear STEFAN fee estimate always
exceed any gross amount. */
@@ -273,7 +273,7 @@
min = get_unit (keys);
if (NULL == min)
return GNUNET_SYSERR;
- if (1.0d <= keys->stefan_lin)
+ if (1.0 <= keys->stefan_lin)
{
/* This cannot work, linear STEFAN fee estimate always
exceed any gross amount. */
|