| To: | CINJUG <users@xxxxxxxxxx> |
|---|---|
| Subject: | Re: More results from cluster run on V matrix. |
| From: | James Hurt <jhurt@xxxxxxxxxxxxxxxx> |
| Date: | Tue, 16 Nov 2004 13:24:19 -0500 |
| Delivered-to: | mailing list users@cinjug.org |
| In-reply-to: | <419A3300.9020605@ic-institute.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| References: | <4198E3C9.2080105@ic-institute.com> <04F6E174-378D-11D9-A85F-00039379ECCA@ic-institute.com> <419A2A21.9020005@ic-institute.com> <419A3300.9020605@ic-institute.com> |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
Damnation. Why don't I believe what I read about Java classes? The description for StreamTokenizer includes: <quote> parseNumbers public void parseNumbers() Specifies that numbers should be parsed by this tokenizer. The syntax table of this tokenizer is modified so that each of the twelve characters: 0 1 2 3 4 5 6 7 8 9 . -
When the parser encounters a word token that has the format of a double precision floating-point number, it treats the token as a number rather than a word, by setting the the ttype field to the value TT_NUMBER and putting the numeric value of the token into the nval field. </quote> Translation: Numbers in exponential format (e.g. 2.9e-17) are not correctly parsed. The exponential component is missed. What is the easiest way to modify StreamTokenizer so it will recognize numbers in scientific notation? -- James Hurt Vice President Research & Development Internet & Computer Institute Phone: 513-271-4249 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [cinjug-users] Links, Weirich, James |
|---|---|
| Next by Date: | Re: [cinjug-users] Re: More results from cluster run on V matrix., Abdul Habra |
| Previous by Thread: | RE: [cinjug-users] Links, Weirich, James |
| Next by Thread: | Re: [cinjug-users] Re: More results from cluster run on V matrix., Abdul Habra |
| Indexes: | [Date] [Thread] [Top] [All Lists] |