samples/straws/distribution.c
/* Get the h number as a hex string. */
Get the h number as a hex string.
Get the h number as a hex string .
int h_to_bin (golle_num_t num) {
  golle_error err = golle_num_to_bin (num, &hbin);
  if (err != GOLLE_OK) {
    fprintf (stderr, "Error %d converting h to binary\n", err);
    return 1;
  }
  return 0;
}
int h_to_bin ( golle_num_t num ) { golle_error err = golle_num_to_bin ( num , & hbin ) ; if ( err != GOLLE_OK ) { fprintf ( stderr , " \n " , err ) ; return 1 ; } return 0 ; }
Get the h number as a hex string.
Get the h number as a hex string .