Add new function needed for FST4W decoder updates

This commit is contained in:
Bill Somerville 2021-01-04 15:35:32 +00:00
parent 0013b15120
commit 607a346cf1
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -26,3 +26,9 @@ float gran_()
iset++;
return v2*fac;
}
/* Generates evenly distributed numbers between 0 and 1. */
float rran_()
{
return (float)rand()/(float)RAND_MAX;
}