cmake HAVE_DIRECT_FLOAT_FORMAT examples

john30/ebusd CMakeLists.txt :139

check_cxx_source_runs("
#include <stdint.h>
int main() {
  union {
    uint32_t i;
    float f;
  } test;
  test.f = 0.15;
  return test.i == 0x3e19999a ? 0 : 1;
}
" HAVE_DIRECT_FLOAT_FORMAT)

john30/ebusd CMakeLists.txt :165

endif(NOT HAVE_DIRECT_FLOAT_FORMAT)