Skip to content

Conversation

mcb5637
Copy link
Collaborator

@mcb5637 mcb5637 commented Aug 6, 2025

close #126

where xpath only defines these functions specifically for doubles, all other types result in an error (null Literal returned). We allow all types as arguments that can be converted to double.

@mcb5637 mcb5637 requested a review from bigerl August 6, 2025 15:08
@bigerl bigerl requested a review from nkaralis August 7, 2025 09:59
Copy link
Collaborator

@bigerl bigerl left a comment

Choose a reason for hiding this comment

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

From my side this looks good after extending it to accept anything that is convertible to double. I changed that is also how others implement it.

@nkaralis @mcb5637 please double check that I didn't mess anything up.

@bigerl bigerl merged commit 74c3715 into develop Aug 7, 2025
32 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: XPATH 4.8 Trigonometric and exponential functions
2 participants