[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isnanl, printf, and non-IEEE values
From: |
Ben Pfaff |
Subject: |
Re: isnanl, printf, and non-IEEE values |
Date: |
Mon, 18 Jun 2012 10:21:34 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> In theory you would be right that data should be validated at the boundaries
> of the program, that is, when they are read from outside sources. But no
> program I know of does this for unconstrained floating-point numbers.
That's an interesting point. GNU PSPP reads unconstrained
"double"s from SPSS data files without validating them[*], since
it never occurred to me that this was a bad idea. A function to
validate a floating-point number would therefore be useful in
PSPP.
[*] Except in the case where it detects that the data file uses a
nonnative floating point format such as one of the old IBM or
DEC floating-point formats, in which case it does a format
conversion.
- Re: isnanl, printf, and non-IEEE values, (continued)
- Re: isnanl, printf, and non-IEEE values, Paul Eggert, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, John Spencer, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, Eric Blake, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, John Spencer, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, Paul Eggert, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, John Spencer, 2012/06/19
- Re: isnanl, printf, and non-IEEE values, Eric Blake, 2012/06/19
- Re: isnanl, printf, and non-IEEE values, Jim Meyering, 2012/06/19
- Re: isnanl, printf, and non-IEEE values, Paul Eggert, 2012/06/19
- Re: isnanl, printf, and non-IEEE values, Bruno Haible, 2012/06/17
- Re: isnanl, printf, and non-IEEE values,
Ben Pfaff <=
- Re: isnanl, printf, and non-IEEE values, Rich Felker, 2012/06/18
- Re: isnanl, printf, and non-IEEE values, Ben Pfaff, 2012/06/18
- Re: musl printf bugs, Bruno Haible, 2012/06/17
- Re: musl printf bugs, Rich Felker, 2012/06/17
- Re: musl printf bugs, Bruno Haible, 2012/06/17
- Re: getopt.m4 test, Bruno Haible, 2012/06/19
- Re: getopt.m4 test, Bruno Haible, 2012/06/23
- Re: getopt.m4 test, Paul Eggert, 2012/06/23
- Re: getopt.m4 test, Bruno Haible, 2012/06/26
Re: stdioext on musl, Bruno Haible, 2012/06/17