Re: Opportunities for numerical work on FreeBSD?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Tue, 18 Jun 2024 18:49:12 UTC
Robert,

There is an old numerics wiki page (https://wiki.freebsd.org/Numerics)
that lists a few missing C99/C11 math.h/complex.h functions.  Some have
been implemented and committed, but I recall that something like 6 are
still missing.  I thought I had opened a PR, but cannot seem to 
find it (someday, I'll get around to pecking at these).  Search for
N1256.pdf and N1570.pdf if one does not have the C standard handy.
Appendice F and G are relevant.

There is also C23 (N3088.pdf), which introduced several new functions.
Some of these may be compiler builtin functions such as inverse square
root (rsqrt(x)), but having fall back implementations may be desirable.

At the moment, I lack the time to mentor someone, but I am more than
willing to offer opinions and test code if asked.  I also know zip
about SIMD programming, and relied heavily on Bruce Evans to
whack me with a clue stick with regards to low-level numerical
programming.

-- 
steve

On Tue, Jun 18, 2024 at 07:31:01PM +0200, Robert Clausecker wrote:
> Greetings,
> 
> I have here a talented maths student looking for a place to
> complete her mandatory (unpaid) industry internship.
> 
> She has a knack for numerical analysis, differential equations,
> and writing floating point code.  I suggested that there might
> be need for some improvement to the math code currently shipped
> with FreeBSD as the old msun code, while very precise, is not
> writted to take advantage of modern SIMD FPUs with FMA support
> and could be improved considerably.
> 
> Is there an interest for such or other numerical work on the
> FreeBSD code base?  Would anybody be interested in supervising
> such work?  If yes, I would try to connect the two of you.
> 
> Yours,
> Robert Clausecker
> 
> -- 
> ()  ascii ribbon campaign - for an encoding-agnostic world
> /\  - against html email  - against proprietary attachments



-- 
Steve