summaryrefslogtreecommitdiff
blob: f55595461a80991753fe852f94d4f98e957fe461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- cxprolog-0.98.2.orig/src/Number.c	2016-01-23 22:07:48.000000000 +0100
+++ cxprolog-0.98.2/src/Number.c	2022-05-21 10:03:54.275367970 +0200
@@ -282,9 +282,9 @@
 {
 #if HAS_LONG_DOUBLE_OPS
 	if( precision > 0 )
-		return GStrFormat("%%.%dllg", precision) ;
+		return GStrFormat("%%.%dLg", precision) ;
 	else
-		return GStrFormat("%%.%dllf", -precision) ;
+		return GStrFormat("%%.%dLf", -precision) ;
 #else
 	if( precision > 0 )
 		return GStrFormat("%%.%dlg", precision) ;