summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/c.sh2
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}
sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe 2019-07-12Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe