Re: New proposal for math.e

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:

<snip>

> Juergen Luethje wrote:
> > 
> > Pete Lomax wrote:
> > 
> > > Juergen Luethje wrote:
> > > (I am a bit allergic to machine_func(47 etc, but it is not
> > > life-threatening)
> > 
> > I also think it's better readable. float64_to_atom() would require
> >    include machine.e
> > I think that was the reason for not using it. But that include statement
> > should not cause any problem, should it?
> 
> I think it's just for namespace reasons, or if you want to use safe.e instead
> of machine.e. It shouldn't really be problem though.

<snip>

Maybe the following would be a good compromise:
constant FLOAT64_TO_ATOM = 47

global constant
LN10 = machine_func(FLOAT64_TO_ATOM, {22,85,181,187,177,107,2,64}),    --
   2.3025850929940456e0
   ...

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu