Enlarging the math library repertoire for Algol 68

Jose E. Marchesi jemarch@gnu.org
Sat May 9 22:40:54 GMT 2026


Hello.

> While perusing some of the ga68 compiler source tree, I found in file
> gcc-16.1.0/gcc/algol68/a68-parser-taxes.cc a list of 23 additional
> functions
>
> 	arccosdg	  cbrt		    curt	      gammaincgf
> 	arccotdg	  cosdg		    erf		      sindg
> 	arcsindg	  cospi		    erfc	      sinpi
> 	arctandg	  cot		    gamma	      tandg
> 	beta		  cotdg		    gammainc	      tanpi
> 	betainc		  cotpi		    gammaincg
>
> that might appear to be supported, but attempts to use them fail at
> compile time with reports of unrecognized functions.
>
> Do they need a special pragma to enable their access?  Or is it the
> case that this is work-in-progress, and other parts of ga68 are
> awaiting updates to fully support them?

These entries in the ACCEPT lis tin is_mappable_routine are remainings
of Genie, which support these functions.

These are not standard operators in Algol 68 and I don't plan to support
them as intrinsics in the compiler.  Will remoe them.

>
> -------------------------------------------------------------------------------
> - Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
> - University of Utah                                                          -
> - Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
> - 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
> - Salt Lake City, UT 84112-0090, USA    URL: https://www.math.utah.edu/~beebe -
> -------------------------------------------------------------------------------


More information about the Algol68 mailing list