Done, already sent it! Now I am going to sleep cuz its late here tho.
Hey! so I just started using this module, and I would like to know if there is a way to make it so I can get the 100 decimal (0.1>5<)?
Hey there! So currently the module doesn’t support decimal numbers neither negative numbers.
It is something I might do in the future.
I forgot to say but I got it working. It took some messing around and math.
Oh, glad to hear that! If you want to help improve the module, you can make a PR on github
Module Updated!
You can find the new version on GitHub
Performance Improvements in all Functions
-
Convert Notation to Number (1GP) - Performance improved about 78%
-
Convert Notation to Number (100.000) - Performance improved about 3%
-
Convert String to Array Number - Performance improved about 40%
-
Long Number Notation - Performance improved about 31%
-
Short Number Notation - Performance improved about 41%
-
Add Numbers - Performance improved about 93%
-
Subtract Numbers - Performance improved about 86%
The new Gigantix implementation delivers major performance gains, especially in arithmetic operations. Soon I pretend to add support to Negative Numbers and a conversion system to help you save data while using less memory!
Gigantix Module Update Log - Version: 1.0
New Features:
-
Example File Added: An example file has been included to demonstrate the usage of Gigantix functions, aiding developers in integrating the module effectively.
-
Number Encoding and Decoding: Introduced
encodeNumber
anddecodeNumber
functions to compress and decompress large numbers, optimizing data storage and transmission. -
Negative Number Support: Enhanced the module to handle negative numbers seamlessly across all operations.
Improvements:
-
Bug Fixes: Resolved various issues, particularly those related to the previous lack of support for negative numbers, ensuring more reliable computations.
-
Comparison Function: Added a preliminary function for comparing large numbers, laying the groundwork for more advanced comparison features in future updates.
Planned Enhancements:
-
Advanced Comparison Functions: Developing more robust and efficient comparison functions to enhance the module’s versatility.
-
Performance Optimization: Focusing on improving performance and reducing time complexity to ensure faster computations.
-
Encoded Number Compatibility: Planning to allow all functions to accept encoded numbers directly. While this will provide flexibility, it may introduce additional decoding overhead, potentially affecting performance due to the current O(N²) time complexity of the decoding function.
For more details and to access the latest version, visit the Gigantix GitHub repository.