Commit 82fc9c63 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

New abs etc macros in <math.h> and <stdlib.h> made -pcc compatible.

Version 5.50. Tagged as 'RISC_OSLib-5_50'
parent 8f9cfb8a
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.49"
Module_Version SETA 549
Module_MajorVersion SETS "5.50"
Module_Version SETA 550
Module_MinorVersion SETS ""
Module_Date SETS "23 Jan 2004"
Module_ApplicationDate SETS "23-Jan-04"
Module_Date SETS "01 Jul 2004"
Module_ApplicationDate SETS "01-Jul-04"
Module_ComponentName SETS "RISC_OSLib"
Module_ComponentPath SETS "RiscOS/Sources/Lib/RISC_OSLib"
Module_FullVersion SETS "5.49"
Module_HelpVersion SETS "5.49 (23 Jan 2004)"
Module_FullVersion SETS "5.50"
Module_HelpVersion SETS "5.50 (01 Jul 2004)"
END
/* (5.49)
/* (5.50)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 5.49
#define Module_MajorVersion_CMHG 5.50
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 23 Jan 2004
#define Module_Date_CMHG 01 Jul 2004
#define Module_MajorVersion "5.49"
#define Module_Version 549
#define Module_MajorVersion "5.50"
#define Module_Version 550
#define Module_MinorVersion ""
#define Module_Date "23 Jan 2004"
#define Module_Date "01 Jul 2004"
#define Module_ApplicationDate "23-Jan-04"
#define Module_ApplicationDate "01-Jul-04"
#define Module_ComponentName "RISC_OSLib"
#define Module_ComponentPath "RiscOS/Sources/Lib/RISC_OSLib"
#define Module_FullVersion "5.49"
#define Module_HelpVersion "5.49 (23 Jan 2004)"
#define Module_LibraryVersionInfo "5:49"
#define Module_FullVersion "5.50"
#define Module_HelpVersion "5.50 (01 Jul 2004)"
#define Module_LibraryVersionInfo "5:50"
......@@ -559,7 +559,7 @@ double __d_rem(double,double);
# endif
#endif
#define atan(x) __d_atan(x)
#define fabs(x) ((void) sizeof fabs(x), __abs (double) (x))
#define fabs(x) ((void) sizeof (fabs)(x), __abs (double) (x))
#define floor(x) __d_floor(x)
#define ceil(x) __d_ceil(x)
#define trunc(x) __d_trunc(x)
......@@ -596,7 +596,7 @@ __caller_narrow float __r_fma(float,float,float);
#define logf(x) __r_log(x)
#define log10f(x) __r_lg10(x)
#define expf(x) __r_exp(x)
#define fabsf(x) ((void) sizeof fabsf(x), __abs (float) (x))
#define fabsf(x) ((void) sizeof (fabsf)(x), __abs (float) (x))
#define floorf(x) __r_floor(x)
#define ceilf(x) __r_ceil(x)
#define truncf(x) __r_trunc(x)
......
......@@ -518,8 +518,8 @@ lldiv_t lldiv(long long int /*numer*/, long long int /*denom*/);
#ifndef __cplusplus
/* the sizeof expression performs the necessary type-checking */
#define abs(j) ((void) sizeof abs(j), __abs (int) (j))
#define labs(j) ((void) sizeof labs(j), __abs (long int) (j))
#define abs(j) ((void) sizeof (abs)(j), __abs (int) (j))
#define labs(j) ((void) sizeof (labs)(j), __abs (long int) (j))
#endif
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment