170 * @param i2 pointer to integer two |
170 * @param i2 pointer to integer two |
171 * @param data omitted |
171 * @param data omitted |
172 * @return -1, if *i1 is less than *i2, 0 if both are equal, |
172 * @return -1, if *i1 is less than *i2, 0 if both are equal, |
173 * 1 if *i1 is greater than *i2 |
173 * 1 if *i1 is greater than *i2 |
174 */ |
174 */ |
175 int ucx_intcmp(const void *i1, const void *i2, void *data); |
175 int ucx_cmp_int(const void *i1, const void *i2, void *data); |
176 |
176 |
177 /** |
177 /** |
178 * Compares two integers of type long int. |
178 * Compares two integers of type long int. |
179 * @param i1 pointer to long integer one |
179 * @param i1 pointer to long integer one |
180 * @param i2 pointer to long integer two |
180 * @param i2 pointer to long integer two |
181 * @param data omitted |
181 * @param data omitted |
182 * @return -1, if *i1 is less than *i2, 0 if both are equal, |
182 * @return -1, if *i1 is less than *i2, 0 if both are equal, |
183 * 1 if *i1 is greater than *i2 |
183 * 1 if *i1 is greater than *i2 |
184 */ |
184 */ |
185 int ucx_longintcmp(const void *i1, const void *i2, void *data); |
185 int ucx_cmp_longint(const void *i1, const void *i2, void *data); |
186 |
186 |
187 |
187 |
188 /** |
188 /** |
189 * Distance function for integers of type int. |
189 * Distance function for integers of type int. |
190 * @param i1 pointer to integer one |
190 * @param i1 pointer to integer one |
191 * @param i2 pointer to integer two |
191 * @param i2 pointer to integer two |
192 * @param data omitted |
192 * @param data omitted |
193 * @return i1 minus i2 |
193 * @return i1 minus i2 |
194 */ |
194 */ |
195 intmax_t ucx_intdist(const void *i1, const void *i2, void *data); |
195 intmax_t ucx_dist_int(const void *i1, const void *i2, void *data); |
196 |
196 |
197 /** |
197 /** |
198 * Distance function for integers of type long int. |
198 * Distance function for integers of type long int. |
199 * @param i1 pointer to long integer one |
199 * @param i1 pointer to long integer one |
200 * @param i2 pointer to long integer two |
200 * @param i2 pointer to long integer two |
201 * @param data omitted |
201 * @param data omitted |
202 * @return i1 minus i2 |
202 * @return i1 minus i2 |
203 */ |
203 */ |
204 intmax_t ucx_longintdist(const void *i1, const void *i2, void *data); |
204 intmax_t ucx_dist_longint(const void *i1, const void *i2, void *data); |
205 |
205 |
206 /** |
206 /** |
207 * Compares two real numbers of type float. |
207 * Compares two real numbers of type float. |
208 * @param f1 pointer to float one |
208 * @param f1 pointer to float one |
209 * @param f2 pointer to float two |
209 * @param f2 pointer to float two |