AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::FloatingPointRegister< Arch > Struct Template Reference

#include <registers_state.hpp>

Inheritance diagram for asmgrader::FloatingPointRegister< Arch >:
[legend]

Public Member Functions

constexpr operator double () const
 
template<std::floating_point FPType>
constexpr FPType as () const
 

Static Public Member Functions

template<typename FPType >
requires (Arch == SYSTEM_PROCESSOR)
static constexpr FloatingPointRegister from (FPType val)
 

Member Function Documentation

◆ as()

template<ProcessorKind Arch = SYSTEM_PROCESSOR>
template<std::floating_point FPType>
FPType asmgrader::FloatingPointRegister< Arch >::as ( ) const
inlineconstexpr

◆ from()

template<ProcessorKind Arch = SYSTEM_PROCESSOR>
template<typename FPType >
requires (Arch == SYSTEM_PROCESSOR)
static constexpr FloatingPointRegister asmgrader::FloatingPointRegister< Arch >::from ( FPType val)
inlinestaticconstexpr

◆ operator double()

template<ProcessorKind Arch = SYSTEM_PROCESSOR>
asmgrader::FloatingPointRegister< Arch >::operator double ( ) const
inlineconstexpr

The documentation for this struct was generated from the following file: