linux/drivers/gpu/drm/amd/display/dc/spl/spl_custom_float.c

// SPDX-License-Identifier: MIT
//
// Copyright 2024 Advanced Micro Devices, Inc.

#include "spl_debug.h"
#include "spl_custom_float.h"

static bool spl_build_custom_float(struct spl_fixed31_32 value,
			       const struct spl_custom_float_format *format,
			       bool *negative,
			       uint32_t *mantissa,
			       uint32_t *exponenta)
{}

static bool spl_setup_custom_float(const struct spl_custom_float_format *format,
			       bool negative,
			       uint32_t mantissa,
			       uint32_t exponenta,
			       uint32_t *result)
{}

bool spl_convert_to_custom_float_format(struct spl_fixed31_32 value,
				    const struct spl_custom_float_format *format,
				    uint32_t *result)
{}