[gcalctool] Add note about exponential numbers in other bases
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Add note about exponential numbers in other bases
- Date: Thu, 22 Apr 2010 12:04:56 +0000 (UTC)
commit fc3ce691868d3b401213422d062bbe54c4291a8d
Author: Robert Ancell <robert ancell gmail com>
Date: Thu Apr 22 21:55:53 2010 +1000
Add note about exponential numbers in other bases
src/mp-convert.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mp-convert.c b/src/mp-convert.c
index a48e0f4..f527b13 100644
--- a/src/mp-convert.c
+++ b/src/mp-convert.c
@@ -688,7 +688,7 @@ mp_cast_to_exponential_string(const MPNumber *x, int default_base, int base_, in
mp_cast_to_string(&mantissa, default_base, base_, max_digits, trim_zeroes, fixed, 1024);
g_string_append(string, fixed);
if (exponent != 0) {
- g_string_append_printf(string, "Ã?10");
+ g_string_append_printf(string, "Ã?10"); // FIXME: Use the current base
if (exponent < 0) {
exponent = -exponent;
g_string_append(string, "â?»");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]