Advertisement
Tainel

src/base/features/floats.hpp

May 28th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | Source Code | 0 0
  1. #pragma once
  2.  
  3. // Floating point type aliases.
  4. using f32=float;
  5. using f64=double;
  6. using f80=long double;
  7.  
  8. // Casts to floating point types.
  9. #define F32 static_cast<f32>
  10. #define F64 static_cast<f64>
  11. #define F80 static_cast<f80>
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement