// cmath standard header
#ifndef _CMATH_
#define _CMATH_
#include <yvals.h>

 #if defined(__ghs)
 /* GHS moves the majority of declarations from this header into <cmath0>. */
#include <cmath0>
 #endif /* defined(__ghs) */

 #if defined(__ghs)
  #pragma ghs start_cxx_lib_header
  #pragma ghs startdata
  #if defined(__ghs_max_pack_value)
   #pragma pack (push, __ghs_max_pack_value)
  #endif /* defined(__ghs_max_pack_value) */
 #endif /* defined(__ghs) */

 #if defined(__ghs) && _HAS_CPP17
  #define __cpp_lib_hypot 201603L
  #define __cpp_lib_math_special_functions 201603L
 #endif /* defined(__ghs) && _HAS_CPP17 */

#if defined(__ghs)
#ifndef __NoFloat
inline float sqrt(float _X) ___THROW
	{return (sqrtf(_X));
	}
inline long double sqrt(long double _X) ___THROW
	{return (sqrtl(_X));
	}

#if defined(__NAMESPACES) && !defined(__EMBEDDED_CXX_HEADERS)
namespace std {
    using ::sqrt;
}
#endif  // __NAMESPACES

#endif	// __NoFloat
#endif /* __ghs */

 #if defined(__ghs)
  #if defined(__ghs_max_pack_value)
   #pragma pack(pop)
  #endif /* defined(__ghs_max_pack_value) */
  #pragma ghs enddata
  #pragma ghs end_cxx_lib_header
 #endif /* defined(__ghs) */

#endif /* _CMATH_ */

/*
 * Copyright (c) by P.J. Plauger. All rights reserved.
 * Consult your license regarding permissions and restrictions.
V8.03b/17:0063 */
