| 1033 | { return rand()%maxv; } |
| 1034 | |
| 1035 | int ap::round_f(double x) |
| 1036 | { return int(floor(x+0.5)); } |
| 1037 | |
| 1038 | int ap::trunc(double x) |
| 1039 | { return int(x>0 ? floor(x) : ceil(x)); } |
nothing calls this directly
no outgoing calls
no test coverage detected