diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2025-04-07 18:40:29 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-04-07 18:40:29 +0100 |
| commit | f1df3e703f19e2d2529d8c0af75a5a4d0278c83a (patch) | |
| tree | 866da434ad0d0434dda862029c19ed1ab2e59b78 | |
| parent | build: update gnulib submodule to latest (diff) | |
| download | coreutils-f1df3e703f19e2d2529d8c0af75a5a4d0278c83a.tar.gz coreutils-f1df3e703f19e2d2529d8c0af75a5a4d0278c83a.zip | |
doc: mention workaround for combining hex floats with suffixes
* doc/coreutils.texi (hexDuration): Mention the p style exponent trick.
| -rw-r--r-- | doc/coreutils.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 2d1f162aa..d1c282f56 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18914,8 +18914,8 @@ C locale (@pxref{Floating point}) followed by an optional unit: @samp{d} for days @end display @macro hexDuration -Note it's best to avoid combining suffixes with hexadecimal arguments, -as any @samp{d} will @emph{not} be interpreted as a suffix. +A hexadecimal number can precede a @samp{d} suffix only if the number +has a @samp{p} style exponent, e.g., @samp{0x1p0d} means one day. @end macro @hexDuration A duration of 0 disables the associated timeout. |
