Divyanshu-s13 opened a new pull request, #341: URL: https://github.com/apache/arrow-js/pull/341
Decimal Type Ergonomics Enhancement (#81) Added comprehensive utility functions to make working with Decimal types in JavaScript much simpler and more ergonomic. Previously, developers had to dig through Arrow source code and implement their own low-level bit manipulation code. Now they have well-tested, official utilities. New Decimal Module This update introduces a new module, decimal.ts, providing comprehensive decimal arithmetic support within the Arrow JavaScript implementation. The module is exported through the util namespace for convenient access throughout the library. The implementation closely follows the Arrow C++ semantics to ensure correctness and cross-language consistency. Both Decimal128 and Decimal256 types are fully supported, and all operations are designed to be non-destructive, preserving immutability and preventing unintended mutations. This addition integrates seamlessly with the existing API and introduces no breaking changes. Closes #81. -- 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]
