"...variadic/tests/known/git@git.frama-c.com:pub/frama-c.git" did not exist on "6664c43ff1ff928becc39ddb759ee1234c0eaea8"
[Integer] power_int_positive_int returns an option
This function relies on Z.power_int_positive_int, which can raise the exception Invalid_argument when dealing with an exponent too big to produce a valid result in GMP. This exception is now catched and thus the function produce an option. Modifications at callsites have been taken care of, and the file floating_point.ml has been made more human readable.
Showing
- src/libraries/stdlib/integer.ml 3 additions, 1 deletionsrc/libraries/stdlib/integer.ml
- src/libraries/stdlib/integer.mli 1 addition, 1 deletionsrc/libraries/stdlib/integer.mli
- src/libraries/utils/floating_point.ml 248 additions, 307 deletionssrc/libraries/utils/floating_point.ml
- src/plugins/eva/engine/subdivided_evaluation.ml 2 additions, 3 deletionssrc/plugins/eva/engine/subdivided_evaluation.ml
Loading
Please register or sign in to comment