this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at fixPythonPipStalling 28 lines 814 B view raw
1/* @(#)s_ldexp.c 5.1 93/09/24 */ 2/* 3 * ==================================================== 4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 5 * 6 * Developed at SunPro, a Sun Microsystems, Inc. business. 7 * Permission to use, copy, modify, and distribute this 8 * software is freely granted, provided that this notice 9 * is preserved. 10 * ==================================================== 11 */ 12 13#include <sys/cdefs.h> 14#if defined(LIBM_SCCS) && !defined(lint) 15__RCSID("$NetBSD: s_ldexp.c,v 1.8 1999/07/02 15:37:43 simonb Exp $"); 16#endif 17 18#include "math.h" 19#include "math_private.h" 20#include <errno.h> 21 22long double ldexpl(long double value, int exp) 23{ 24 if(!isfinite(value)||value==0.0) return value; 25 value = scalbnl(value,exp); 26// if(!finitel(value)||value==0.0) errno = ERANGE; 27 return value; 28}