From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: "Alejandro Colomar" <alx.manpages@gmail.com>,
наб <nabijaczleweli@nabijaczleweli.xyz>,
linux-man@vger.kernel.org
Subject: Re: [PATCH 4/5] tm.3type: describe tm_zone, tm_gmtoff
Date: Wed, 29 Oct 2025 17:30:53 -0500 [thread overview]
Message-ID: <20251029223053.hbsbdsizoeoudejs@illithid> (raw)
In-Reply-To: <oaa34iz4h2uu4dz2z6ias6lugfh57fspd6bdep5ycw4zzv37oe@rhos3t2bvz6y>
[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]
Hi Alex,
At 2025-10-29T11:21:27+0100, Alejandro Colomar wrote:
> On Wed, Oct 29, 2025 at 04:07:18AM -0500, G. Branden Robinson wrote:
> > At 2022-07-19T14:17:15+0200, Alejandro Colomar wrote:
> > > Could you come up with a more mathematically precise term for
> > > "reverse"? What is reverse? The additive inverse? Maybe use
> > > "additive inverse"? I think "opposite" also has the meaning of
> > > additive inverse in maths, and it's maybe a simpler term (although
> > > additive inverse is more precise, IMHO). But reverse is
> > > definitely confusing to me.
> >
> > I think the idiomatic term is "inverse".
>
> Inverse is too generic. Inverse functions do something else. The
> specific terms are "opposite (of a) number" and "additive inverse",
> AFAIK, and maybe also "inverse (of a) number".
Yes, but `tm_gmtoff` and `timezone` are _scalars_, not functions.
tzset(3):
extern long timezone;
tm(3type):
struct tm {
...
/* Since POSIX.1‐2024: */
long tm_gmtoff; /* Seconds East of UTC */
...
}
Consequently, if they possess an inversional relationship at all, they
must be either additive or multiplicative inverses of the other,[1] and
the page now makes it clear which.
tm(3type):
tm_gmtoff is the difference, in seconds, of the timezone
represented by this broken‐down time and UTC (this is the additive
inverse of timezone(3)).
I apologize for re-raising an old and as far as I can tell,
satisfactorily settled issue. I was looking at messages in neomutt with
a non-obvious filter in place (meaning one I'd applied, wandered away
from the computer, and forgot about), and since your message of 19 July
was still in my inbox, I got confused and thought it was an item still
solicting my input.
Regards,
Branden
[1] If there's another kind of inverse that can apply over the integers,
I don't know what it is.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-10-29 22:30 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-19 1:56 [PATCH 1/5] tm.3type: tfix наб
2022-07-19 1:56 ` [PATCH 2/5] tm.3type: align ranges наб
2022-07-19 11:44 ` Alejandro Colomar
2022-07-19 14:14 ` наб
2022-07-19 14:25 ` Alejandro Colomar
2022-07-19 1:56 ` [PATCH 3/5] tm.3type: tm_year is year minus 1900, not since наб
2022-07-19 11:47 ` Alejandro Colomar
2022-07-19 11:50 ` Alejandro Colomar
2022-07-19 1:56 ` [PATCH 4/5] tm.3type: describe tm_zone, tm_gmtoff наб
2022-07-19 12:17 ` Alejandro Colomar
2022-07-19 12:19 ` Alejandro Colomar
2022-07-19 15:28 ` наб
2022-07-22 3:33 ` G. Branden Robinson
2022-07-22 10:57 ` Alejandro Colomar (man-pages)
2022-07-22 22:20 ` man(7) DS and DE macros (was: [PATCH 4/5] tm.3type: describe tm_zone, tm_gmtoff) G. Branden Robinson
2022-07-22 23:47 ` Alejandro Colomar
2025-10-29 9:07 ` [PATCH 4/5] tm.3type: describe tm_zone, tm_gmtoff G. Branden Robinson
2025-10-29 10:21 ` Alejandro Colomar
2025-10-29 22:30 ` G. Branden Robinson [this message]
2025-10-29 22:53 ` Alejandro Colomar
2022-07-19 1:58 ` [PATCH 5/5] ctime.3: remove struct tm vestigia наб
2022-07-19 12:18 ` Alejandro Colomar
2022-07-19 11:38 ` [PATCH 1/5] tm.3type: tfix Alejandro Colomar
2022-07-19 15:35 ` [PATCH v2 1/4] tm.3type: align ranges наб
2022-07-19 18:38 ` [PATCH v3 1/2] tm.3type: describe tm_zone, tm_gmtoff наб
2022-07-19 20:33 ` Alejandro Colomar
2022-07-19 21:36 ` наб
2022-07-19 22:09 ` Alejandro Colomar
2022-07-19 22:35 ` [PATCH v4 " наб
2022-07-19 22:36 ` [PATCH v4 2/2] ctime.3: remove struct tm vestigia наб
2022-07-20 8:30 ` Alejandro Colomar
2022-07-19 18:39 ` [PATCH v3 " наб
2022-07-19 15:35 ` [PATCH v2 2/4] tm.3type: widen member alignment to take up to const char * наб
2022-07-19 15:59 ` Alejandro Colomar
2022-07-19 15:35 ` [PATCH v2 3/4] tm.3type: describe tm_zone, tm_gmtoff наб
2022-07-19 17:11 ` Alejandro Colomar
2022-07-19 15:35 ` [PATCH v2 4/4] ctime.3: remove struct tm vestigia наб
2022-07-19 17:12 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251029223053.hbsbdsizoeoudejs@illithid \
--to=g.branden.robinson@gmail.com \
--cc=alx.manpages@gmail.com \
--cc=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=nabijaczleweli@nabijaczleweli.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox