# acos compatibility provenance

`recovered_acos.py` adapts the finite `[-1,1]`, round-to-nearest branch of GNU glibc `sysdeps/ieee754/flt-32/e_acosf.c`, as displayed at revision `glibc-2.39-206-g2caef2827f`. This is a standard-library dependency compatibility layer, not an acoustics algorithm inferred from RLR samples.

Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Developed at SunPro, a Sun Microsystems, Inc. business.
Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved.

The adaptation translates the polynomial and branch arithmetic to explicit NumPy float32 rounding. It does not model errno, floating-point exceptions, out-of-range NaNs or other rounding modes. No native `acos` function is called in the independent implementation. Native `libm.so.6` is used only by the separate evidence collector.

Source: [glibc e_acosf.c](https://codebrowser.dev/glibc/glibc/sysdeps/ieee754/flt-32/e_acosf.c.html). Preserve this notice and the source notice in any distribution; licenses of other modules remain separate.
