[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: [ ruby-Bugs-7001 ] Determinant Problem in Matrix.rb

From: URABE Shyouhei <shyouhei@...>
Date: 2006-12-01 12:34:36 UTC
List: ruby-core #9645
This is 100% intended.  You have to learn integer arithmetics when you
want to use Integers instead of Floats.
> Matrix[[2, 1], [-1, 2]].determinant
>
> This gives 6, when the determinant is actually 5.
>   

% ruby -rmatrix -e 'p Matrix[[2.0, 1.0], [-1.0, 2.0]].determinant'
5.0

In This Thread