MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / simple_rand_x

Function simple_rand_x

deps/GraphBLAS/Demo/Source/simple_rand.c:64–68  ·  view source on GitHub ↗

return a random double between 0 and 1, inclusive

Source from the content-addressed store, hash-verified

62
63// return a random double between 0 and 1, inclusive
64GB_PUBLIC
65double simple_rand_x ( )
66{
67 return (((double) simple_rand_i ( )) / ((double) UINT64_MAX)) ;
68}
69

Callers 3

random_matrixFunction · 0.70
GrB_InfoFunction · 0.70
mainFunction · 0.50

Calls 1

simple_rand_iFunction · 0.70

Tested by

no test coverage detected