From: Nikodemus Siivola Date: 2002-11-24T09:17:08+09:00 Subject: Re: What does rb_num_coerce_bin(x, y) do? On Sun, 24 Nov 2002, Jim Freeze wrote: > return rb_num_coerce_bin(x, y); > What does the _bin stand for and what does this function do? Quick check from the source makes it seem like it acts just like Numeric.coerce: $ ri coerce --------------------------------------------------------- Numeric#coerce num.coerce( aNumeric ) -> anArray ------------------------------------------------------------------------ If aNumeric is the same type as num, returns an array containing aNumeric and num. Otherwise, returns an array with both aNumeric and num represented as Float objects. The _bin propably refers to the fact that the function takes two arguments. -- Nikodemus