Class RandomBool¶
Defined in File RandomBool.hpp
Class Documentation¶
-
class
sgpl::RandomBool¶ With probability determined by this instruction’s tag, stores 1.0f to
reg[arg_0].Otherwise, stores 0.0f to
reg[arg_0].Public Static Functions
-
template<typename
Spec>
voidrun(sgpl::Core<Spec> &core, const sgpl::Instruction<Spec> &inst, const sgpl::Program<Spec>&, typename Spec::peripheral_t&) noexcept¶
-
std::string
name()¶
-
size_t
prevalence()¶
-
template<typename
Spec>
autodescriptors(const sgpl::Instruction<Spec> &inst)¶
-
template<typename
Spec>
std::set<std::string>categories(const sgpl::Instruction<Spec>&)¶
-
template<typename