/* SCE CONFIDENTIAL
 * PLAYSTATION(R)3 Programmer Tool Runtime Library 084.006
 * Copyright (C) 2005 Sony Computer Entertainment Inc.
 * All Rights Reserved.
 */

/* --------------------------------------------------------------  */
/* PLEASE DO NOT MODIFY THIS SECTION                               */
/* This prolog section is automatically generated.                 */
/*                                                                 */
/* (C)Copyright                                                    */
/* Sony Computer Entertainment, Inc.,                              */
/* Toshiba Corporation,                                            */
/* International Business Machines Corporation,                    */
/* 2001,2002,2003. All rights reserved. 			   */
/* S/T/I Confidential Information                                  */
/* --------------------------------------------------------------  */

#include <bits/fastmath-int.h>

/*
 * FUNCTION
 *	float f_log10f(float x)
 *
 * DESCRIPTION
 *	_log10f computes log (base 10) of the input value x. log10
 *	is computed using log2 as follows:
 *	
 *	   log10f(x) = log2(x) / log2(10);
 */

_FUNC_DEF(
	float,
	f_log10f,
	(float x))
{
  return (f_log2f(x) * 0.30102999566398f);
}

