List Info

Thread: "ocaml_beginners"::[] Ratio




"ocaml_beginners"::[] Ratio
user name
2007-01-06 14:25:21

http://caml.inria.fr/pub/docs/manual-ocaml/libref/Num.html

references to the module Ratio. Where can I find more information
about that?

Thanks.

hs

__._,_.___
.

__,_._,___
"ocaml_beginners"::[] Ratio
user name
2007-01-06 15:00:52

Hi,

The best way is to download the OCaml source code. Under the
'otherlibs/num' directory, you will find ratio.ml[i]. Neither file is flush
with comments, although the function names are usually enough to figure out
what they do.

Regards,

Sachin.

On 1/6/07, Holger Schulz < schulz%40mathematik.uni-siegen.de">schulzmathematik.uni-siegen.de> wrote:
&gt;
> http://caml.inria.fr/pub/docs/manual-ocaml/libref/Num.html
>
> references to the module Ratio. Where can I find more information
> about that?
>;
> Thanks.
&gt;
> hs
>
>

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
"ocaml_beginners"::[] Ratio
user name
2007-01-07 14:03:13

Thanks.

Am 2007-01-06 um 16:00 schrieb Sachin Shah:

&gt; Hi,
>
> The best way is to download the OCaml source code. Under the
> 'otherlibs/num' directory, you will find ratio.ml[i]. Neither file
> is flush
>; with comments, although the function names are usually enough to
> figure out
> what they do.

That sounds like there's nothing in any manual or something? I'd like
to know how do I get ratios? Can I convert floats to ratios or what.

hs

__._,_.___
.

__,_._,___
"ocaml_beginners"::[] Ratio
user name
2007-01-07 23:59:39

Probably through the Nums module. Nat, Ratio, etc, are afaik internal modules.

Jonathan

On 1/8/07, Holger Schulz < schulz%40mathematik.uni-siegen.de">schulzmathematik.uni-siegen.de> wrote:
&gt; Thanks.
&gt;
> Am 2007-01-06 um 16:00 schrieb Sachin Shah:
>;
> > Hi,
> >
> > The best way is to download the OCaml source code. Under the
> > 'otherlibs/num' directory, you will find ratio.ml[i]. Neither file
> > is flush
>; > with comments, although the function names are usually enough to
> > figure out
> > what they do.
>
> That sounds like there's nothing in any manual or something? I'd like
> to know how do I get ratios? Can I convert floats to ratios or what.
>;
> hs
>
>
> Archives up to November 11, 2006 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
> The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.
> Yahoo! Groups Links
>;
>
&gt;
>

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )