delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/25/14:05:15

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200308251747.h7PHl6XI023636@speedy.ludd.luth.se>
Subject: <math.h> and <libm/math.h>
To: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Date: Mon, 25 Aug 2003 19:47:06 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Can anyone explain what this in <math.h> is about:
#ifndef __dj_include_math_h_
#define __dj_include_math_h_

#ifdef _USE_LIBM_MATH_H
#include <libm/math.h>
#else

/* All of the header file goes here. */

#endif /* _USE_LIBM_MATH_H */

#endif /* !__dj_include_math_h_ */


Now when (soon i. e.) isnan() and isinf() is in libc and <math.h> is
updated, I think libm should be converted to used them.

libm's makefile #defines _USE_LIBM_MATH_H.

What should be done? Should <libm/math.h> be updated according to
<math.h>?


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019