Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove excessive license notices from preciseExp10.cpp #46163

Conversation

DimasKovas
Copy link
Contributor

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Remove excessive license notices from preciseExp10.cpp

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Motivation

preciseExp10.cpp contains the whole COPYRIGHT text from musl-libc, which contains licenses for third-party code used in musl-libc.
preciseExp10.cpp initially uses code only from /src/math/exp10.c, which does not contain any additional license notices and therefore is distributed under standard MIT-clause.
The presence of excessive license notices in the file makes it difficult for our license-analyzer tool to properly mark up the licenses for ClickHouse source code in our codebase.

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

@robot-clickhouse robot-clickhouse added the pr-build Pull request with build/testing/packaging improvement label Feb 8, 2023
@@ -3,9 +3,7 @@
/** exp10 from GNU libm fails to give precise result for integer arguments.
* For example, exp10(3) gives 1000.0000000000001
* despite the fact that 1000 is exactly representable in double and float.
* Better to always use implementation from MUSL.
*
* Note: the function names are different to avoid confusion with symbols from the system libm.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of this note looks strange.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returned it back

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Feb 8, 2023
@alexey-milovidov alexey-milovidov self-assigned this Feb 8, 2023
@alexey-milovidov alexey-milovidov merged commit 17d325c into ClickHouse:master Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be tested Allows running workflows for external contributors pr-build Pull request with build/testing/packaging improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants