2021-06-27 09:32:03 +03:00
|
|
|
#pragma once
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
#include "cBackend.h"
|
|
|
|
#include <stdio.h>
|
2021-06-03 12:44:42 +03:00
|
|
|
#include <gmp.h>
|
2020-10-11 17:05:00 +03:00
|
|
|
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Int8_to_Bits8(Value *);
|
|
|
|
Value *cast_Int8_to_Bits16(Value *);
|
|
|
|
Value *cast_Int8_to_Bits32(Value *);
|
|
|
|
Value *cast_Int8_to_Bits64(Value *);
|
|
|
|
Value *cast_Int8_to_Int16(Value *);
|
|
|
|
Value *cast_Int8_to_Int32(Value *);
|
|
|
|
Value *cast_Int8_to_Int64(Value *);
|
|
|
|
Value *cast_Int8_to_Integer(Value *);
|
|
|
|
Value *cast_Int8_to_double(Value *);
|
|
|
|
Value *cast_Int8_to_char(Value *);
|
|
|
|
Value *cast_Int8_to_string(Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Int16_to_Bits8(Value *);
|
|
|
|
Value *cast_Int16_to_Bits16(Value *);
|
|
|
|
Value *cast_Int16_to_Bits32(Value *);
|
|
|
|
Value *cast_Int16_to_Bits64(Value *);
|
|
|
|
Value *cast_Int16_to_Int8(Value *);
|
|
|
|
Value *cast_Int16_to_Int32(Value *);
|
|
|
|
Value *cast_Int16_to_Int64(Value *);
|
|
|
|
Value *cast_Int16_to_Integer(Value *);
|
|
|
|
Value *cast_Int16_to_double(Value *);
|
|
|
|
Value *cast_Int16_to_char(Value *);
|
|
|
|
Value *cast_Int16_to_string(Value *);
|
|
|
|
|
|
|
|
Value *cast_Int32_to_Bits8(Value *);
|
|
|
|
Value *cast_Int32_to_Bits16(Value *);
|
|
|
|
Value *cast_Int32_to_Bits32(Value *);
|
|
|
|
Value *cast_Int32_to_Bits64(Value *);
|
|
|
|
Value *cast_Int32_to_Int8(Value *);
|
|
|
|
Value *cast_Int32_to_Int16(Value *);
|
|
|
|
Value *cast_Int32_to_Int64(Value *);
|
|
|
|
Value *cast_Int32_to_Integer(Value *);
|
|
|
|
Value *cast_Int32_to_double(Value *);
|
|
|
|
Value *cast_Int32_to_char(Value *);
|
|
|
|
Value *cast_Int32_to_string(Value *);
|
|
|
|
|
|
|
|
Value *cast_Int64_to_Bits8(Value *);
|
|
|
|
Value *cast_Int64_to_Bits16(Value *);
|
|
|
|
Value *cast_Int64_to_Bits32(Value *);
|
|
|
|
Value *cast_Int64_to_Bits64(Value *);
|
|
|
|
Value *cast_Int64_to_Int8(Value *);
|
|
|
|
Value *cast_Int64_to_Int16(Value *);
|
|
|
|
Value *cast_Int64_to_Int32(Value *);
|
|
|
|
Value *cast_Int64_to_Int64(Value *);
|
|
|
|
Value *cast_Int64_to_Integer(Value *);
|
|
|
|
Value *cast_Int64_to_double(Value *);
|
|
|
|
Value *cast_Int64_to_char(Value *);
|
|
|
|
Value *cast_Int64_to_string(Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
Value *cast_double_to_Bits8(Value *);
|
|
|
|
Value *cast_double_to_Bits16(Value *);
|
|
|
|
Value *cast_double_to_Bits32(Value *);
|
|
|
|
Value *cast_double_to_Bits64(Value *);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_double_to_Int8(Value *);
|
|
|
|
Value *cast_double_to_Int16(Value *);
|
|
|
|
Value *cast_double_to_Int32(Value *);
|
|
|
|
Value *cast_double_to_Int64(Value *);
|
|
|
|
Value *cast_double_to_Integer(Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_double_to_char(Value *);
|
|
|
|
Value *cast_double_to_string(Value *);
|
|
|
|
|
|
|
|
Value *cast_char_to_Bits8(Value *);
|
|
|
|
Value *cast_char_to_Bits16(Value *);
|
|
|
|
Value *cast_char_to_Bits32(Value *);
|
|
|
|
Value *cast_char_to_Bits64(Value *);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_char_to_Int8(Value *);
|
|
|
|
Value *cast_char_to_Int16(Value *);
|
|
|
|
Value *cast_char_to_Int32(Value *);
|
|
|
|
Value *cast_char_to_Int64(Value *);
|
|
|
|
Value *cast_char_to_Integer(Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_char_to_double(Value *);
|
|
|
|
Value *cast_char_to_string(Value *);
|
|
|
|
|
|
|
|
Value *cast_string_to_Bits8(Value *);
|
|
|
|
Value *cast_string_to_Bits16(Value *);
|
|
|
|
Value *cast_string_to_Bits32(Value *);
|
|
|
|
Value *cast_string_to_Bits64(Value *);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_string_to_Int8(Value *);
|
|
|
|
Value *cast_string_to_Int16(Value *);
|
|
|
|
Value *cast_string_to_Int32(Value *);
|
|
|
|
Value *cast_string_to_Int64(Value *);
|
|
|
|
Value *cast_string_to_Integer(Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_string_to_double(Value *);
|
|
|
|
Value *cast_string_to_char(Value *);
|
|
|
|
|
|
|
|
Value *cast_Bits8_to_Bits16(Value *input);
|
|
|
|
Value *cast_Bits8_to_Bits32(Value *input);
|
|
|
|
Value *cast_Bits8_to_Bits64(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Bits8_to_Int8(Value *input);
|
|
|
|
Value *cast_Bits8_to_Int16(Value *input);
|
|
|
|
Value *cast_Bits8_to_Int32(Value *input);
|
|
|
|
Value *cast_Bits8_to_Int64(Value *input);
|
|
|
|
Value *cast_Bits8_to_Integer(Value *input);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits8_to_double(Value *input);
|
|
|
|
Value *cast_Bits8_to_char(Value *input);
|
|
|
|
Value *cast_Bits8_to_string(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits16_to_Bits8(Value *input);
|
|
|
|
Value *cast_Bits16_to_Bits32(Value *input);
|
|
|
|
Value *cast_Bits16_to_Bits64(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Bits16_to_Int8(Value *input);
|
|
|
|
Value *cast_Bits16_to_Int16(Value *input);
|
|
|
|
Value *cast_Bits16_to_Int32(Value *input);
|
|
|
|
Value *cast_Bits16_to_Int64(Value *input);
|
|
|
|
Value *cast_Bits16_to_Integer(Value *input);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits16_to_double(Value *input);
|
|
|
|
Value *cast_Bits16_to_char(Value *input);
|
|
|
|
Value *cast_Bits16_to_string(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits32_to_Bits8(Value *input);
|
|
|
|
Value *cast_Bits32_to_Bits16(Value *input);
|
|
|
|
Value *cast_Bits32_to_Bits64(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Bits32_to_Int8(Value *input);
|
|
|
|
Value *cast_Bits32_to_Int16(Value *input);
|
|
|
|
Value *cast_Bits32_to_Int32(Value *input);
|
|
|
|
Value *cast_Bits32_to_Int64(Value *input);
|
|
|
|
Value *cast_Bits32_to_Integer(Value *input);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits32_to_double(Value *input);
|
|
|
|
Value *cast_Bits32_to_char(Value *input);
|
|
|
|
Value *cast_Bits32_to_string(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits64_to_Bits8(Value *input);
|
|
|
|
Value *cast_Bits64_to_Bits16(Value *input);
|
|
|
|
Value *cast_Bits64_to_Bits32(Value *input);
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Bits64_to_Int8(Value *input);
|
|
|
|
Value *cast_Bits64_to_Int16(Value *input);
|
|
|
|
Value *cast_Bits64_to_Int32(Value *input);
|
|
|
|
Value *cast_Bits64_to_Int64(Value *input);
|
|
|
|
Value *cast_Bits64_to_Integer(Value *input);
|
2020-10-11 17:05:00 +03:00
|
|
|
Value *cast_Bits64_to_double(Value *input);
|
|
|
|
Value *cast_Bits64_to_char(Value *input);
|
|
|
|
Value *cast_Bits64_to_string(Value *input);
|
|
|
|
|
2021-06-03 12:44:42 +03:00
|
|
|
Value *cast_Integer_to_Bits8(Value *input);
|
|
|
|
Value *cast_Integer_to_Bits16(Value *input);
|
|
|
|
Value *cast_Integer_to_Bits32(Value *input);
|
|
|
|
Value *cast_Integer_to_Bits64(Value *input);
|
|
|
|
Value *cast_Integer_to_Int8(Value *input);
|
|
|
|
Value *cast_Integer_to_Int16(Value *input);
|
|
|
|
Value *cast_Integer_to_Int32(Value *input);
|
|
|
|
Value *cast_Integer_to_Int64(Value *input);
|
|
|
|
Value *cast_Integer_to_double(Value *input);
|
|
|
|
Value *cast_Integer_to_char(Value *input);
|
|
|
|
Value *cast_Integer_to_string(Value *input);
|