blob: bc834d5a223bca5188acac2aade63c00579d8dbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ab,v 1.2 2004/02/18 06:04:44 wulf Exp $
--- src/hamlib-utils.c.orig 2004-02-01 16:21:58.000000000 +1030
+++ src/hamlib-utils.c 2004-02-01 16:22:07.000000000 +1030
@@ -604,7 +604,7 @@
if (preferences.round == 0)
g_string_printf (digits, "%Ld", state.rigfrequency);
else
- g_string_printf (digits, "%Ld", (long long) rintl (state.rigfrequency /
+ g_string_printf (digits, "%Ld", (long long) rint (state.rigfrequency /
pow (10, preferences.round)));
g_string_insert_c (digits, (digits->len) - 6 + preferences.round, '.');
g_strstrip (digits->str);
|