Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
EncodedBin Struct Reference

Integer representation of a decimal bin boundary. More...

#include <BinnedObservableId.h>

Public Attributes

long int_part
 
long frac_part
 
long frac_digits
 

Detailed Description

Integer representation of a decimal bin boundary.

A bin edge is encoded as three integer components:

  • an integer part,
  • a fractional part,
  • the number of decimal digits used for the fractional part.

For example, the value 12.345 can be represented as:

EncodedBin{12, 345, 3}
Integer representation of a decimal bin boundary.

Negative values store the sign either in int_part when the absolute value is greater than or equal to 1, or in frac_part for values between -1 and 0.

Definition at line 78 of file BinnedObservableId.h.

Member Data Documentation

◆ frac_digits

long EncodedBin::frac_digits

Number of decimal digits stored in frac_part.

Definition at line 81 of file BinnedObservableId.h.

◆ frac_part

long EncodedBin::frac_part

Fractional digits encoded as an integer.

Definition at line 80 of file BinnedObservableId.h.

◆ int_part

long EncodedBin::int_part

Integer part of the encoded value.

Definition at line 79 of file BinnedObservableId.h.


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