>> it compares whether the difference between A and B is smaller than some small number
>
>Right. This is common for iterative processes, but the = operator should not need it. And this epsilon is not documented anywhere and seems to be 1e-22 for = but changes for different functions. Are these constants documented anywhere?
I think "=" does need it, if the comparison is done after adding several numbers.
No, I don't know about documentation. I read something about this issue, years ago.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)