Commits


João Pedro authored and Praveen committed 5f4252bbc6d
ARROW-11987: [C++][Gandiva] Implement trigonometric functions Implement base trigonometric functions (sin; cos; asin; acos; tan; atan; sinh; cosh; tanh; cotg; radians; degrees;) JIRA issue: https://issues.apache.org/jira/browse/ARROW-11987 Closes #9726 from jpedroantunes/feature/add-trigonometry-functions and squashes the following commits: 3391776c3 <João Pedro> Correct missing identation 896d91b49 <João Pedro> Add initialization for atan2 for different numeric types 5ef2c8362 <João Pedro> Correct \ identation on macros being used e2355e8e5 <João Pedro> Fix last missing format on extended math ops on gandiva 7cd2659b7 <João Pedro> Fix more identation comments on C++ code 831cff06d <João Pedro> Fix suggestions on code format by C++ linter a2c2b2826 <João Pedro> Add cast for pi float variable used on test 33987aad4 <João Pedro> Remove unused macro on function registry math on gandiva 11e5c9cb4 <João Pedro> Add ifdef definition for m_pi constants 434995b7e <João Pedro> Add support for trigonometry functions on Gandiva 7e1e4d9c2 <João Pedro> Add projector test for new implemented trigonometry functions 6603019c5 <João Pedro> Correct atan2 method name in unit tests 6b5dafdd6 <João Pedro> Correct macro for atan2 method implementation c05463d72 <João Pedro> Register all missing trigonometry methods on funtion registry and types header 63fba45f5 <João Pedro> Register on function registry all base trigonometry functions c94590fcf <João Pedro> Add unit tests for base trigonometry functions 870029fa2 <João Pedro> Add implementation for base trigonometry functions d474f75a2 <João Pedro> Add registry for base trigonometry functions Authored-by: João Pedro <joaop@simbioseventures.com> Signed-off-by: Praveen <praveen@dremio.com>