I've already written a prototype of the half-cycle trig
functions.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113152

There are two issues that need to be address.  First, some
operating systems provide half-cycle trig functions in their
libm.  The initial patch tries to use libm functions if 
found, but in hindsight I think gfortran should simply 
provide its own implementations.  Second, the patch needs
to be cleaned up and rigorously tested.  I haven't had time
to do this.

If you are looking for a relatively small and well-defined
project, I'll suggest looking at implementations for the
new intrinsic subprograms SPLIT() and TOKENIZE().  As far as
I know, no one is working on these routines.

-- 
steve

On Mon, Mar 24, 2025 at 04:45:06PM +0000, Yuao Ma wrote:
> Hello GCC Community,
> 
> I hope this message finds you well. My name is Yuao, and I’m excited to 
> express
> my interest in the "Fortran – 2018/202x" project for Google Summer of Code. 
> I’m
> writing to clarify the scope of this project and gather any recommendations 
> you
> may have.
> 
> >From the project documentation and the "What's New in 202x" resources, I
> understand that “Extracting tokens from a string,” “Interoperability with C,”
> and “Trig function changes” would be considered a medium-sized undertaking.
> After exploring the codebase, I noticed that trigonometric functions working 
> in
> degrees have already been implemented. I’d be very interested in continuing
> with the half-revolution functionality as well as addressing the “Changes for
> conformance with the new IEEE standard.” I’d love to hear your thoughts on
> whether this focus is aligned with current project needs or if there are other
> areas you recommend I prioritize.
> 
> Thank you for your time and guidance. I look forward to your feedback on how I
> can best contribute.
> 
> Kind regards,
> Yuao

-- 
Steve

Reply via email to