Timeline for How to convert a string of number into real numbers without precision loss
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:55 | history | edited | CommunityBot | replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/ | |
| Sep 1, 2014 at 11:24 | comment | added | jason | @Mr.Wizard no it does not. It still gives me only MachinePrecision values | |
| Sep 1, 2014 at 11:21 | comment | added | Mr.Wizard | @jason does the StringReplace code at the top work correctly? | |
| Sep 1, 2014 at 11:18 | comment | added | jason | @Mr.Wizard, I have same problem and using above mentioned code, I still get only till MachinePrecision in Mathematica v9.0, is there some improvement you can suggest?I cannot find anything anywhere about this topic. | |
| Dec 19, 2013 at 11:49 | history | edited | Mr.Wizard | CC BY-SA 3.0 | added 92 characters in body |
| Dec 19, 2013 at 11:48 | comment | added | Oleksandr R. | Yes, this is a version difference. It stops working in version 9. I suspect a bug since the errors do not make sense and a very strange output is produced ({100*Removed["$$Failure"], 10*Removed["$$Failure"], Removed["$$Failure"]/100, 100*Removed["$$Failure"]}). | |
| Dec 17, 2013 at 12:06 | comment | added | LCFactorization | Thank you very much. Probably this might be the reason | |
| Dec 17, 2013 at 11:56 | comment | added | Mr.Wizard | @LCFactorization Okay, it must be a version difference. I'll see if I can get someone to look at that. | |
| Dec 17, 2013 at 11:53 | comment | added | LCFactorization | I use exactly the same `string = "-5.100686209408900133332e+02 -1.294005398404007344443e+01 \ -2.59376479781563728887e-02 -1.3043629998334040122222e+02"'; the error persists | |
| Dec 17, 2013 at 11:49 | comment | added | Mr.Wizard | @LCF With what input? (What is assigned to string?) Which version are you using? I have not yet seen the error you describe. | |
| Dec 17, 2013 at 11:25 | comment | added | LCFactorization | # &[ReadList[#, Number], Close@#]& @ StringToStream @ string will casue such error; others are OK. | |
| Dec 17, 2013 at 10:07 | comment | added | Mr.Wizard | @LCFactorization Please, what code causes that error? | |
| Dec 17, 2013 at 10:01 | comment | added | LCFactorization | However, the further command causes: error message: `General::digit: "Digit at position 1 in \!(\"-5.100686209408900133332\") is too large to be used in base 10. "' | |
| Dec 17, 2013 at 9:14 | vote | accept | LCFactorization | ||
| Dec 17, 2013 at 8:46 | history | edited | Mr.Wizard | CC BY-SA 3.0 | added 480 characters in body |
| Dec 17, 2013 at 8:40 | history | answered | Mr.Wizard | CC BY-SA 3.0 |