chromium/v8/src/base/numbers/double.h

// Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_BASE_NUMBERS_DOUBLE_H_
#define V8_BASE_NUMBERS_DOUBLE_H_

#include "src/base/macros.h"
#include "src/base/numbers/diy-fp.h"

namespace v8 {
namespace base {

// We assume that doubles and uint64_t have the same endianness.
inline uint64_t double_to_uint64(double d) {}
inline double uint64_to_double(uint64_t d64) {}

// Helper functions for doubles.
class Double {};

}  // namespace base
}  // namespace v8

#endif  // V8_BASE_NUMBERS_DOUBLE_H_