kolbrich (Kevin Olbrich)
- Login: kolbrich
- Registered on: 07/13/2010
- Last sign in: 12/28/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
12/28/2020
-
04:42 PM Ruby Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
- In doing a bit of maintenance work for the ruby-units gem this issue came up. I think there may be some additional methods that now need to be generated in the C code. See the following example.
```
c = Complex(1,0)
c <=> 1 # => 0
...
07/14/2010
-
09:25 PM Ruby Bug #3563: problems with exponentiation, cbrt
- =begin
I'm fine with adding a comment, however the one you added does not really clarify the matter (at least not to me).
=end
-
09:18 PM Ruby Bug #3572 (Closed): mathn causes problems with DateTime
- =begin
> require 'date'
> DateTime.jd(2_453_827.5) # => #<DateTime: 2006-04-01T12:00:00+00:00 (2453827.0,0,2299161)>
> require 'mathn'
> DateTime.jd(2_453_827.5) # => SystemStackError: stack level too deep
from /Users/username/...
07/13/2010
-
12:25 PM Ruby Bug #3563 (Closed): problems with exponentiation, cbrt
- =begin
# nothing required
> (-27)**(Rational(1,3)) #=> (1.5000000000000004+2.598076211353316i)
I would expect that this would return -3
> Complex(1.5000000000000004,2.598076211353316)**3 #=> (-27.000000000000007+1.2434497...