andygrove commented on PR #334:
URL: https://github.com/apache/datafusion-spark/pull/334#issuecomment-7332413987

   ASF Legal answered on 
[LEGAL-740](https://issues.apache.org/jira/browse/LEGAL-740). Sun's fdlibm 
notice is acceptable as Category A, since the code is translated from the 
netlib sources and not from OpenJDK. I've applied their guidance:
   
   - `fdlibm.rs` now carries Sun's notice at the top instead of the ASF header, 
and is excluded from RAT. The notice stays in `LICENSE.txt` and is not added to 
`NOTICE.txt`.
   - The tests moved to `fdlibm_tests.rs`, which has the ASF header.
   - The `expm1` translation is removed. `expm1` uses `libm::expm1` since #359, 
so the separate 2004 notice on `s_expm1.c` no longer applies here.
   
   I also merged `main`. `log1p` from #344 now calls `fdlibm::log1p`, and the 
duplicate in `log.rs` is gone.
   
   On the suggestion to use the `libm` crate: its `log`, `log10` and `log1p` 
follow musl and differ from `StrictMath` in the last bit on some inputs, so the 
translation is still needed for these functions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to