aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/syntax/float_syntax.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/syntax/float_syntax.ml b/plugins/syntax/float_syntax.ml
index 9861a060ab..8e87fc13ca 100644
--- a/plugins/syntax/float_syntax.ml
+++ b/plugins/syntax/float_syntax.ml
@@ -28,8 +28,8 @@ let warn_inexact_float =
Pp.strbrk
(Printf.sprintf
"The constant %s is not a binary64 floating-point value. \
- A closest value will be used and unambiguously printed %s."
- sn (Float64.to_string f)))
+ A closest value %s will be used and unambiguously printed %s."
+ sn (Float64.to_hex_string f) (Float64.to_string f)))
let interp_float ?loc n =
let sn = NumTok.Signed.to_string n in