MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / pseudo_random

Method pseudo_random

scripts/gen_profiles_tests.py:540–541  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

538 return gen
539
540 def pseudo_random(self, s):
541 return Fraction(math.sin(s * 12.9898) * 43758.5453123)
542
543 def gen_random_format_features(self, registry, name, list_index):
544 # Choose from 0 to including 3 number of format features

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected