IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2004, 9:38:52 AM (22 years ago)
Author:
desonia
Message:

Misc. doxygen polishings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psCompare.c

    r1127 r1393  
    66 *  @author Robert Daniel DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-29 23:19:11 $
     8 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-08-05 19:38:52 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include "psCompare.h"
    1616
    17 #define compareNumericPtr(TYPE) \
     17#define COMPARE_NUMERIC_PTR(TYPE) \
    1818int psCompare##TYPE##Ptr(const void** a, const void** b) { \
    1919    return **((ps##TYPE**)a) - **((ps##TYPE**)b); \
    2020}
    2121
    22 #define compareNumericPtrDescending(TYPE) \
     22#define COMPARE_NUMERIC_PTR_DESCENDING(TYPE) \
    2323int psCompareDescending##TYPE##Ptr(const void** a, const void** b) { \
    2424    return **((ps##TYPE**)b) - **((ps##TYPE**)a); \
    2525}
    2626
    27 #define compareNumeric(TYPE) \
     27#define COMPARE_NUMERIC(TYPE) \
    2828int psCompare##TYPE(const void* a, const void* b) { \
    2929    return *((ps##TYPE*)a) - *((ps##TYPE*)b); \
    3030}
    3131
    32 #define compareNumericDescending(TYPE) \
     32#define COMPARE_NUMERIC_DESCENDING(TYPE) \
    3333int psCompare##TYPE##Descending(const void* a, const void* b) { \
    3434    return *((ps##TYPE*)b) - *((ps##TYPE*)a); \
    3535}
    3636
    37 compareNumericPtr(S8)
    38 compareNumericPtr(S16)
    39 compareNumericPtr(S32)
    40 compareNumericPtr(S64)
    41 compareNumericPtr(U8)
    42 compareNumericPtr(U16)
    43 compareNumericPtr(U32)
    44 compareNumericPtr(U64)
    45 compareNumericPtr(F32)
    46 compareNumericPtr(F64)
     37COMPARE_NUMERIC_PTR(S8)
     38COMPARE_NUMERIC_PTR(S16)
     39COMPARE_NUMERIC_PTR(S32)
     40COMPARE_NUMERIC_PTR(S64)
     41COMPARE_NUMERIC_PTR(U8)
     42COMPARE_NUMERIC_PTR(U16)
     43COMPARE_NUMERIC_PTR(U32)
     44COMPARE_NUMERIC_PTR(U64)
     45COMPARE_NUMERIC_PTR(F32)
     46COMPARE_NUMERIC_PTR(F64)
    4747
    48 compareNumericPtrDescending(S8)
    49 compareNumericPtrDescending(S16)
    50 compareNumericPtrDescending(S32)
    51 compareNumericPtrDescending(S64)
    52 compareNumericPtrDescending(U8)
    53 compareNumericPtrDescending(U16)
    54 compareNumericPtrDescending(U32)
    55 compareNumericPtrDescending(U64)
    56 compareNumericPtrDescending(F32)
    57 compareNumericPtrDescending(F64)
     48COMPARE_NUMERIC_PTR_DESCENDING(S8)
     49COMPARE_NUMERIC_PTR_DESCENDING(S16)
     50COMPARE_NUMERIC_PTR_DESCENDING(S32)
     51COMPARE_NUMERIC_PTR_DESCENDING(S64)
     52COMPARE_NUMERIC_PTR_DESCENDING(U8)
     53COMPARE_NUMERIC_PTR_DESCENDING(U16)
     54COMPARE_NUMERIC_PTR_DESCENDING(U32)
     55COMPARE_NUMERIC_PTR_DESCENDING(U64)
     56COMPARE_NUMERIC_PTR_DESCENDING(F32)
     57COMPARE_NUMERIC_PTR_DESCENDING(F64)
    5858
    59 compareNumeric(S8)
    60 compareNumeric(S16)
    61 compareNumeric(S32)
    62 compareNumeric(S64)
    63 compareNumeric(U8)
    64 compareNumeric(U16)
    65 compareNumeric(U32)
    66 compareNumeric(U64)
    67 compareNumeric(F32)
    68 compareNumeric(F64)
     59COMPARE_NUMERIC(S8)
     60COMPARE_NUMERIC(S16)
     61COMPARE_NUMERIC(S32)
     62COMPARE_NUMERIC(S64)
     63COMPARE_NUMERIC(U8)
     64COMPARE_NUMERIC(U16)
     65COMPARE_NUMERIC(U32)
     66COMPARE_NUMERIC(U64)
     67COMPARE_NUMERIC(F32)
     68COMPARE_NUMERIC(F64)
    6969
    70 compareNumericDescending(S8)
    71 compareNumericDescending(S16)
    72 compareNumericDescending(S32)
    73 compareNumericDescending(S64)
    74 compareNumericDescending(U8)
    75 compareNumericDescending(U16)
    76 compareNumericDescending(U32)
    77 compareNumericDescending(U64)
    78 compareNumericDescending(F32)
    79 compareNumericDescending(F64)
     70COMPARE_NUMERIC_DESCENDING(S8)
     71COMPARE_NUMERIC_DESCENDING(S16)
     72COMPARE_NUMERIC_DESCENDING(S32)
     73COMPARE_NUMERIC_DESCENDING(S64)
     74COMPARE_NUMERIC_DESCENDING(U8)
     75COMPARE_NUMERIC_DESCENDING(U16)
     76COMPARE_NUMERIC_DESCENDING(U32)
     77COMPARE_NUMERIC_DESCENDING(U64)
     78COMPARE_NUMERIC_DESCENDING(F32)
     79COMPARE_NUMERIC_DESCENDING(F64)
Note: See TracChangeset for help on using the changeset viewer.