GADGET-4
intposconvert.h File Reference

defines a class to convert between integer coordinates and floating point positions More...

#include "allvars.h"
#include "dtypes.h"
#include <cmath>

Go to the source code of this file.

Classes

class  intposconvert
 

Macros

#define MSB   ((MyIntPosType)(~((MyIntPosType)(~((MyIntPosType)0)) >> ((MyIntPosType)1))))
 

Detailed Description

defines a class to convert between integer coordinates and floating point positions

Definition in file intposconvert.h.

Macro Definition Documentation

◆ MSB

#define MSB   ((MyIntPosType)(~((MyIntPosType)(~((MyIntPosType)0)) >> ((MyIntPosType)1))))

Definition at line 20 of file intposconvert.h.