Simple Summary
This proposal aims to activate the #87 network parameter to migrate the floating-point calculations from java.lang.Math to java.lang.StrictMath for cross-platform computational compatibility, for more details, please refer to TIP-697.
Motivation
Up to GreatVoyage-v4.7.6(Anaximander), Java-Tron has utilized the class Math for floating-point calculations. However, the class Math may yield varying calculation results for identical inputs across different hardware platforms and JDK versions.
Looking ahead to potential cross-platform support and broader JDK version compatibility, Java-Tron needs to transition from java.lang.Math to a mathematical library that ensures consistent calculation results across platforms and newer JDK versions.
How to Initialize the Voting Request
- Open the pow calculation algorithm migration proposal.
Backwards Compatibility
Since consensus-affecting changes will only be activated post-proposal approval, this migration maintains backward compatibility and preserves consensus from the genesis block onward.
Simple Summary
This proposal aims to activate the
#87network parameter to migrate the floating-point calculations fromjava.lang.Mathtojava.lang.StrictMathfor cross-platform computational compatibility, for more details, please refer to TIP-697.Motivation
Up to GreatVoyage-v4.7.6(Anaximander), Java-Tron has utilized the class Math for floating-point calculations. However, the class Math may yield varying calculation results for identical inputs across different hardware platforms and JDK versions.
Looking ahead to potential cross-platform support and broader JDK version compatibility, Java-Tron needs to transition from java.lang.Math to a mathematical library that ensures consistent calculation results across platforms and newer JDK versions.
How to Initialize the Voting Request
createProposal 87 1Backwards Compatibility
Since consensus-affecting changes will only be activated post-proposal approval, this migration maintains backward compatibility and preserves consensus from the genesis block onward.