mn_fast_type.hpp File Reference
#include "mn_config.hpp"
#include "mn_algorithm.hpp"
#include "mn_def.hpp"
#include "mn_uint128.hpp"
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Classes

class  mn::basic_fbit
 
class  mn::fast_type< Bits, TBaseType >
 
union  mn::basic_fbit.__unnamed11__
 
union  mn::fast_type.__unnamed13__
 

Namespaces

 mn
 

Typedefs

using mn::fsize_t = fast_type< value2size< size_t >::size, size_t >
 
using mn::ffloat_t = fast_type< value2size< float >::size, float >
 
using mn::fdouble_t = fast_type< value2size< double >::size, double >
 
using mn::fint8_t = fast_type< value2size< int8_t >::size, int8_t >
 
using mn::fint16_t = fast_type< value2size< int16_t >::size, int16_t >
 
using mn::fint32_t = fast_type< value2size< int32_t >::size, int32_t >
 
using mn::fint64_t = fast_type< value2size< int64_t >::size, int64_t >
 
using mn::fuint8_t = fast_type< value2size< uint8_t >::size, uint8_t >
 
using mn::fuint16_t = fast_type< value2size< uint16_t >::size, uint16_t >
 
using mn::fuint32_t = fast_type< value2size< uint32_t >::size, uint32_t >
 
using mn::fuint64_t = fast_type< value2size< uint64_t >::size, uint64_t >
 
using mn::fuint128_t = fast_type< value2size< uint128_t >::size, uint128_t >
 
using mn::fint_least8_t = fast_type< value2size< int_least8_t >::size, int_least8_t >
 
using mn::fint_least16_t = fast_type< value2size< int_least16_t >::size, int_least16_t >
 
using mn::fint_least32_t = fast_type< value2size< int_least32_t >::size, int_least32_t >
 
using mn::fint_least64_t = fast_type< value2size< int_least64_t >::size, int_least64_t >
 
using mn::fuint_least8_t = fast_type< value2size< uint_least8_t >::size, uint_least8_t >
 
using mn::fuint_least16_t = fast_type< value2size< uint_least16_t >::size, uint_least16_t >
 
using mn::fuint_least32_t = fast_type< value2size< uint_least32_t >::size, uint_least32_t >
 
using mn::fuint_least64_t = fast_type< value2size< uint_least64_t >::size, uint_least64_t >
 
using mn::fuint_least128_t = fast_type< value2size< uint_least128_t >::size, uint_least128_t >
 

Detailed Description

This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).

Author
Copyright (c) 2021 Amber-Sophia Schroeck
License
The Mini Thread Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3, or (at your option) any later version.

The Mini Thread Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.


Class Documentation

◆ mn::basic_fbit.__unnamed11__

union mn::basic_fbit.__unnamed11__

The fast bit

Class Members
unsigned char bit: 1

◆ mn::fast_type.__unnamed13__

union mn::fast_type.__unnamed13__

The new type

Class Members
bit_type bits[Bits]

the value as bits

value_type Value

The real value