A fixed-precision decimal arithmetic library for JavaScript/TypeScript
A data structure to represent fixed precision decimals
Fixed precision decimal math library for Solidity
Format the content of a <input/> element as a float with fixed precision
JavaScript string formatting utilities for Vega.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
The RAW rational numbers library
Fixed-point number types for JavaScript
An arbitrary-precision Decimal type for JavaScript.
Convert values with PostCSS (e.g. ms -> s)
bigint to buffer conversion with native support - fixed version
Curated collection of data structures for the JavaScript/TypeScript.
JSON.parse with bigints support
Light lib for fixed point math made around native bigint
Find the decimal precision of a given number
Arrays.
Strict borsh compatible de/serializer
Arbitrary-precision decimals. Enables making math calculations with rational numbers, without precision loss.
Perform addition, subtraction, multiplication and division operations precisely using javascript
Double-precision complex number functions.
Single-precision complex number functions.
Convert a double-precision floating-point number to the nearest single-precision floating-point number.
unit bezier curve interpolation
Arbitrary precision decimal/hexadecimal converter.
Fast, fixed-precision, floating-point decimal types.
Math library for CosmWasm contracts in Injective Protocol
Fixed Precision Math Primitives
This benchmark evaluates the performance of Rust libraries for rendering fixed-precision integer primitives to ASCII base-10 string
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
simple crate for float to fixed precision conversion
Library to deal with money in Rust.
Switchy database package
no_std Rust decimal: fraction precision never shrinks as integers grow; 4 types from u8(2+2) to u128(38+38) digits
Configuration-driven REST backend library for Rust with PostgreSQL — define schemas, tables, and APIs in JSON, get a production-grade REST service.
Fixed-point numbers with 18-digit precision.
Decimal arbitrary precision fixed point numbers in pure Ruby.
HdrHistogram is an algorithm designed for recording histograms of value measurements with configurable precision. Value precision is expressed as the number of significant digits, providing control over value quantization and resolution whilst maintaining a fixed cost in both space and time.
Easy Attributes is a Ruby DSL to give more control to attributes. It provides a unique attribute enum setup, and conversions to bytes and float-as-integer (money, frequencies, Ratings, etc.) / fixed-decimal precision as integer (See the easy_money gem).
Compress and decompress arrays of float/double/int32/int64 in 1-4 dimensions using ZFP's fixed-rate, fixed-precision, fixed-accuracy, or lossless reversible modes. Accepts Ruby Array and Numo::NArray.
# Excel to Code [](https://travis-ci.org/tamc/excel_to_code) excel_to_c - roughly translate some Excel files into C. excel_to_ruby - roughly translate some Excel files into Ruby. This allows spreadsheets to be: 1. Embedded in other programs, such as web servers, or optimisers 2. Without depending on any Microsoft code For example, running [these commands](examples/simple/compile.sh) turns [this spreadsheet](examples/simple/simple.xlsx) into [this Ruby code](examples/simple/ruby/simple.rb) or [this C code](examples/simple/c/simple.c). # Install Requires Ruby. Install by: gem install excel_to_code # Run To just have a go: excel_to_c <excel_file_name> This will produce a file called excelspreadsheet.c For a more complex spreadsheet: excel_to_c --compile --run-tests --settable <name of input worksheet> --prune-except <name of output worksheet> <excel file name> See the full list of options: excel_to_c --help # Gotchas, limitations and bugs 0. No custom functions, no macros for generating results 1. Results are cached. So you must call reset(), then set values, then read values. 2. It must be possible to replace INDIRECT and OFFSET formula with standard references at compile time (e.g., INDIRECT("A"&"1") is fine, INDIRECT(userInput&"3") is not. 3. Doesn't implement all functions. [See which functions are implemented](docs/Which_functions_are_implemented.md). 4. Doesn't implement references that involve range unions and lists (but does implement standard ranges) 5. Sometimes gives cells as being empty, when excel would give the cell as having a numeric value of zero 6. The generated C version does not multithread and will give bad results if you try. 7. The generated code uses floating point, rather than fully precise arithmetic, so results can differ slightly. 8. The generated code uses the sprintf approach to rounding (even-odd) rather than excel's 0.5 rounds away from zero. 9. Ranges like this: Sheet1!A10:Sheet1!B20 and 3D ranges don't work. Report bugs: <https://github.com/tamc/excel_to_code/issues> # Changelog See [Changes](CHANGES.md). # License See [License](LICENSE.md) # Hacking Source code: <https://github.com/tamc/excel_to_code> Documentation: * [Installing from source](docs/installing_from_source.md) * [Structure of this project](docs/structure_of_this_project.md) * [How does the calculation work](docs/how_does_the_calculation_work.md) * [How to fix parsing errors](docs/How_to_fix_parsing_errors.md) * [How to implement a new Excel function](docs/How_to_add_a_missing_function.md) Some notes on how Excel works under the hood: * [The Excel file structure](docs/implementation/excel_file_structure.md) * [Relationships](docs/implementation/relationships.md) * [Workbooks](docs/implementation/workbook.md) * [Worksheets](docs/implementation/worksheets.md) * [Cells](docs/implementation/cell.md) * [Tables](docs/implementation/tables.md) * [Shared Strings](docs/implementation/shared_strings.md) * [Array formulae](docs/implementation/array_formulae.md)
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.