Subject: Re: scanf misses NAN and INF (patch to review)
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-userlevel
Date: 04/03/2007 19:04:00
On Apr 3, 2007, at 1:21 PM, Emmanuel Dreyfus wrote:

> Hi
>
> Currently, scanf does not parse NAN and INF correctly. This is a  
> standard
> non-conformance. Below is a patch that seems to fix the problem.  
> Anyone
> familiar with that part of the tree can peek at it and tell me if it's
> okay to check it in?
>
> http://ftp.espci.fr/shadow/manu/nan.diff

that should be const char man, inf.

Not everything has NaN or Inf.