#include "rsl.h"
#include <stdlib.h>
+#include <limits.h>
void print_link_list(Azimuth_hash *list)
{
if (list == NULL) {
float random_azim(void)
{
- double drand;
- drand = drand48()*1;
- return (float)drand;
+ return (float)rand() / INT_MAX;
}
Sweep *permute_sweep(Sweep *sweep)