Skip to content

Conversation

@jewei1997
Copy link

Describe your changes and provide context

Testing performed to validate your change

if moduleName == "evm" {
var pct float64
if result.TotalEVM03Entries > 0 {
pct = float64(result.ZeroedEVM03Entries) / float64(result.TotalEVM03Entries) * 100

Check notice

Code scanning / CodeQL

Floating point arithmetic Note

Floating point arithmetic operations are not associative and a possible source of non-determinism
if moduleName == "evm" {
var pct float64
if result.TotalEVM03Entries > 0 {
pct = float64(result.ZeroedEVM03Entries) / float64(result.TotalEVM03Entries) * 100

Check notice

Code scanning / CodeQL

Floating point arithmetic Note

Floating point arithmetic operations are not associative and a possible source of non-determinism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants