diff options
author | June McEnroe <june@causal.agency> | 2021-01-13 15:34:19 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-13 15:34:19 -0500 |
commit | be1d4bec5fc0eea8b5548ad074fb1cff09b55ac7 (patch) | |
tree | e2d39009cfe990026c88d376092e3e9e6b4e7bf6 /bin | |
parent | Update Terminal.app colours (diff) | |
download | src-be1d4bec5fc0eea8b5548ad074fb1cff09b55ac7.tar.gz src-be1d4bec5fc0eea8b5548ad074fb1cff09b55ac7.zip |
Support long double in c.sh
Diffstat (limited to '')
-rw-r--r-- | bin/c.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/c.sh b/bin/c.sh index 4439aaee..74e3f95a 100644 --- a/bin/c.sh +++ b/bin/c.sh @@ -69,6 +69,7 @@ if [ -n "${type}" ]; then unsigned long long: "(unsigned long long) ", float: "(float) ", double: "(double) ", + long double: "(long double) ", default: "(void *) " ) ); @@ -97,6 +98,7 @@ if [ -n "${expr}" ]; then unsigned long long: "%llu\n", float: "%g\n", double: "%g\n", + long double: "%Lg\n", default: "%p\n" ), ${expr} |