samiam (Sam Napolitano)
- Login: samiam
- Registered on: 05/01/2018
- Last sign in: 01/14/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
05/02/2018
-
03:16 PM Ruby Bug #14729: Float("long_invalid_string") fails to throw an exception
- shevegen (Robert A. Heiler) wrote:
> I think that particular reasoning is incorrect in regards to underscores, as
> ...
Underscores are treated differently with to_f and Float - they are not just stripped out of the string.
to_f nev...
05/01/2018
-
02:37 PM Ruby Bug #14729 (Closed): Float("long_invalid_string") fails to throw an exception
- When Float() is used to convert a string into a float, invalid characters in the string throw an error.
But when a really long string is passed to Float(), invalid characters exceeding the size of the internal C buffer are ignored and...