Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef9efbb9 authored by Jozef BABJAK's avatar Jozef BABJAK Committed by Steve Kondik
Browse files

Implementing more robust equality check.

Because of rounding in floating point operations, direct equality
check is not reliable. This implements robust method evaluating
distance of two numbers and comparing it to small enough constant.

Change-Id: Ie30684c472bfa38d0432f855f7075c34709958d5
parent b77da615
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment