#include <gpr/derivatives/CountedReal.h>
Public Member Functions | |
| std::uint64_t | arithmetic () const noexcept |
| std::uint64_t | total () const noexcept |
Public Attributes | |
| std::uint64_t | add = 0 |
| additions, subtractions and negations | |
| std::uint64_t | mul = 0 |
| std::uint64_t | div = 0 |
| std::uint64_t | exp = 0 |
| std::uint64_t | sqrt = 0 |
| std::uint64_t | pow = 0 |
Floating-point operation tallies of CountedReal arithmetic on this thread. Every value-producing operation counts once; comparisons and copies do not.
Definition at line 15 of file CountedReal.h.
|
inlinenodiscardnoexcept |
Definition at line 23 of file CountedReal.h.
|
inlinenodiscardnoexcept |
Definition at line 27 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::add = 0 |
additions, subtractions and negations
Definition at line 16 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::div = 0 |
Definition at line 18 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::exp = 0 |
Definition at line 19 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::mul = 0 |
Definition at line 17 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::pow = 0 |
Definition at line 21 of file CountedReal.h.
| std::uint64_t gpr::derivatives::OperationCounts::sqrt = 0 |
Definition at line 20 of file CountedReal.h.