Author mark.dickinson
Recipients belopolsky, gregory.p.smith, mark.dickinson
Date 2017-08-14.07:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502697254.93.0.0801683852412.issue26669@psf.upfronthosting.co.za>
In-reply-to
Content
> potentially questionable? I'll ask a C compiler person...

Questionable indeed. Attempting to cast a NaN to an integer type results in undefined behaviour. Unfortunately, so does attempting to cast any double value that's outside the range represented by the `time_t` type, so the questionability extends beyond just the NaN handling.
History
Date User Action Args
2017-08-14 07:54:15mark.dickinsonsetrecipients: + mark.dickinson, gregory.p.smith, belopolsky
2017-08-14 07:54:14mark.dickinsonsetmessageid: <1502697254.93.0.0801683852412.issue26669@psf.upfronthosting.co.za>
2017-08-14 07:54:14mark.dickinsonlinkissue26669 messages
2017-08-14 07:54:14mark.dickinsoncreate