Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 25 Feb 2020 10:48:40 -0800
From: "Joshua M. Clulow" <>
Subject: Re: Behavior of function nan()

On Tue, 25 Feb 2020 at 06:50, Pascal Cuoq <> wrote:
> The C standard defines a function nan ( ):
> double nan(const char *tagp);
> There exist at least three widespread implementations:
> Even the latter two do not seem at cursory sight to produce the same results for all string inputs, although they will produce the same results for the simple inputs.

Though we're perhaps somewhat less widespread, for some additional
background the current illumos nan() implementation appears to ignore
the input string altogether:


Joshua M. Clulow

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.