php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
convert.c File Reference
#include "bcmath.h"
#include "convert.h"
#include "private.h"

Go to the source code of this file.

Macros

#define BC_ENCODE_LUT(A, B)
 
#define LUT_ITERATE(_, A)
 

Functions

char * bc_copy_and_toggle_bcd (char *restrict dest, const char *source, const char *source_end)
 
void bc_write_bcd_representation (uint32_t value, char *str)
 

Macro Definition Documentation

◆ BC_ENCODE_LUT

#define BC_ENCODE_LUT ( A,
B )
Value:
((A) | (B) << 4)
#define A(x, l, r)
Definition hash_gost.c:85
#define B

Definition at line 118 of file convert.c.

◆ LUT_ITERATE

#define LUT_ITERATE ( _,
A )
Value:
_(A, 0), _(A, 1), _(A, 2), _(A, 3), _(A, 4), _(A, 5), _(A, 6), _(A, 7), _(A, 8), _(A, 9)
_(string $message)

Definition at line 123 of file convert.c.

Function Documentation

◆ bc_copy_and_toggle_bcd()

char * bc_copy_and_toggle_bcd ( char *restrict dest,
const char * source,
const char * source_end )

Definition at line 24 of file convert.c.

◆ bc_write_bcd_representation()

void bc_write_bcd_representation ( uint32_t value,
char * str )

Definition at line 148 of file convert.c.