#include <stddef.h>
#include <stdio.h>
Include dependency graph for builtin.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | __attribute__(x) |
| #define | _builtin_h 1 |
Typedefs | |
| typedef void(* | one_arg_error_handler_t )(const char *) |
| typedef void(* | two_arg_error_handler_t )(const char *, const char *) |
Functions | |
| short | abs (short arg) |
| void | clearbit (long &x, long b) |
| void | default_one_arg_error_handler (const char *) __attribute__((noreturn)) |
| void | default_two_arg_error_handler (const char *, const char *) __attribute__((noreturn)) |
| char * | dtoa (double x, char cvt= 'g', int width=0, int prec=6) |
| int | even (long arg) |
| unsigned int | foldhash (double) |
| long | gcd (long, long) |
| unsigned int | hashpjw (const char *) |
| long | lcm (long x, long y) |
| long | lg (unsigned long) |
| unsigned int | multiplicativehash (int) |
| int | odd (long arg) |
| long | pow (long, long) |
| double | pow (double, long) |
| double | return_elapsed_time (double last_time=0.0) |
| two_arg_error_handler_t | set_lib_error_handler (two_arg_error_handler_t f) |
| void() | setbit (long &x, long b) |
| int | sign (double arg) |
| int | sign (long arg) |
| double | sqr (double arg) |
| long | sqr (long arg) |
| double | start_timer () |
| int | testbit (long x, long b) |
Variables | |
| two_arg_error_handler_t | lib_error_handler |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 90 of file builtin.h. Referenced by BTree::delay(), Line::delay(), and SctpAgent::RttUpdate().
|
|
||||||||||||
|
Definition at line 137 of file builtin.h. 00138 { 00139 x &= ~(1 << b); 00140 }
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
Definition at line 117 of file builtin.h.
|
|
|
|
|
||||||||||||
|
Referenced by lcm(). |
|
|
|
|
||||||||||||
|
Definition at line 127 of file builtin.h. References gcd(). 00128 { 00129 return x / gcd(x, y) * y; 00130 }
Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
Definition at line 122 of file builtin.h.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 132 of file builtin.h. 00133 { 00134 x |= (1 << b); 00135 }
|
|
|
Definition at line 100 of file builtin.h.
|
|
|
Definition at line 95 of file builtin.h.
|
|
|
Definition at line 111 of file builtin.h.
|
|
|
Definition at line 105 of file builtin.h.
|
|
|
|
|
||||||||||||
|
Definition at line 142 of file builtin.h. 00143 { 00144 return ((x & (1 << b)) != 0); 00145 }
|
|
|
|
1.4.6