chromium/third_party/angle/src/common/mathutil.cpp

//
// Copyright 2013 The ANGLE 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.
//

// mathutil.cpp: Math and bit manipulation functions.

#include "common/mathutil.h"

#include <math.h>
#include <algorithm>

namespace gl
{

namespace
{

struct RGB9E5Data
{};

// B is the exponent bias (15)
constexpr int g_sharedexp_bias =;

// N is the number of mantissa bits per component (9)
constexpr int g_sharedexp_mantissabits =;

// number of mantissa bits per component pre-biased
constexpr int g_sharedexp_biased_mantissabits =;

// Emax is the maximum allowed biased exponent value (31)
constexpr int g_sharedexp_maxexponent =;

constexpr float g_sharedexp_max =;

}  // anonymous namespace

unsigned int convertRGBFloatsTo999E5(float red, float green, float blue)
{}

void convert999E5toRGBFloats(unsigned int input, float *red, float *green, float *blue)
{}

}  // namespace gl