]> code.bitgloo.com Git - clyne/constexpr-to-string.git/commitdiff
Update README.md
authorclyne <clyne@bitgloo.com>
Sun, 28 Jun 2020 16:33:42 +0000 (12:33 -0400)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2020 16:33:42 +0000 (12:33 -0400)
README.md

index 1dd7663733791c2f251225a6dd8cba46ae73e821..75ad58045f78ca3aa5b29313b7be148e28e0e2cd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Try it [on Compiler Explorer](https://godbolt.org/z/T-MFoh).
 
 `f_to_string.hpp`, requiring C++20, provides an `f_to_string` utility for floating-point conversion:
 
-```
+```cpp
 puts(f_to_string<3.1415926>); // Defaults to 5-point precision: "3.14159"
 puts(f_to_string<{3.1415926, 7}>); // Specify precision: "3.1415926"
 ```