Comparing doubles as integers without 64-bit integers

后端 未结 0 1140
南旧
南旧 2020-12-13 04:55

What\'s the most performant way to compare two given doubles as integers?

Such that it would work like

bool equal(double x, double y)
{
    return int6         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题