JesseJohnson (Jesse Johnson)
- Login: JesseJohnson
- Registered on: 11/13/2023
- Last sign in: 12/19/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
11/13/2023
-
11:22 PM Ruby Bug #17037: rounding of Rational#to_f
- Test case:
```
def test_rational_with_large_integer_components_to_f
r = 450359962737049649/450359962737049600r
assert_equal(1.0, r.to_f)
end
```
The issue is that large integers, abs > 2 ** 53 - 1, are truncated wh... -
08:02 PM Ruby Bug #11183: Cumulative error on Complex::I ** 100000000000000000000000000000000
- This behavior still exists in Ruby 3.2.2.
In order to fix this Complex#** would need to handle the special cases of self being 0+1i and 0-1i.
Correct:
```
irb(main):052:0> Complex(0, -1) ** 1000000000000000000
=> (1+0i)
irb(m... -
07:29 PM Ruby Bug #8445: IO.open and IO#set_enconding does not support :fallback option
- I can replicate this in 3.2.2.
-
07:10 PM Ruby Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
- Can anyone replicate this on Ruby 3 or later?
-
06:58 PM Ruby Bug #8299: Minor error in float parsing
- I'm not able to replicate this in Ruby 2.6 or Ruby 3.2. Has this been fixed in the relevant compilers? If so can this bug be closed?
```
irb(main):001:0> RUBY_VERSION
=> "2.6.10"
irb(main):002:0> -1.1505945E-5
=> -1.1505945e-05
`... -
06:46 PM Ruby Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- If I understand correctly this test case should convert correctly and not raise a Encoding::ConverterNotFoundError error.
```
"\xE3\xEC".force_encoding(Encoding::Windows_1258).encode(Encoding::UTF_8)
```
-
06:35 PM Ruby Bug #6351: transcode table generator does not support multi characters of Unicode
- @duerst Is this still an issue? If so, is there a test case?