od(1): Fix alignment issue in long double (-t fL) output
authorAaron LI <aly@aaronly.me>
Tue, 16 Mar 2021 09:36:26 +0000 (17:36 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 16 Mar 2021 13:23:30 +0000 (21:23 +0800)
commit938b9b20f864712c95a17b38b3f9e131d401c3a7
tree5c8be1461ad6a902984ae72a74f236d4915044ea
parentfc57cf9eef1482add27630b7c6d7ec8005b48da2
od(1): Fix alignment issue in long double (-t fL) output

Long double has one more digit in the exponential besides the longer
fractional digits.  So the output width should be LDBL_DIG+9.  While
there, improve the width calculation for all float types.

In addition, minor style tweaks.
usr.bin/hexdump/display.c
usr.bin/hexdump/odsyntax.c
usr.bin/hexdump/parse.c