log(), ln() only defined for real and not for long real?

chris hermansen clhermansen@gmail.com
Wed Aug 6 20:27:45 GMT 2025


Thanks, Jose,

On Wed, Aug 6, 2025 at 12:47 PM Jose E. Marchesi <jemarch@gnu.org> wrote:

>
> > Hello all,
> >
> > It seems to me that the log() and ln() procedures are only defined for
> real
> > arguments and not long real arguments.
> >
> > I see in the Revised report §10.2.3.12
> >
> > proc L ln = (L real x) L real: c a L real value, if one exists, close to
> > the natural logarithm of 'x' c;
> >
> > I haven't tested the other "standard mathematical functions".
> >
> > Should this be in the "roadmap" section of
> > https://gcc.gnu.org/wiki/Algol68FrontEnd?
>
> I think we are providing:
>
>   L ln, i.e.
>
>   ln
>   longln
>   longlongln
>
>   L log, i.e.
>
>   log
>   longlog
>   longlonglog
>
> These don't work as expected?
>

My apologies, sometimes I forget to use the _ properly in place of spaces.

At least long_log() does the trick, thank you.  I haven't explored the
rest.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/algol68/attachments/20250806/4b50bcd0/attachment.htm>


More information about the Algol68 mailing list