trace_float
Behaviour
Section titled “Behaviour”- Write a XFL floating point to the trace log along with a message (if any)
Definition
Section titled “Definition”int64_t trace_float ( uint32_t mread_ptr, uint32_t mread_len, int64_t float1);
Example
Section titled “Example”#define SBUF(str) (uint32_t)(str), sizeof(str)trace_float(SBUF("This is a float"), float_one());
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
rmead_ptr | uint32_t | Pointer to a message to output before the hex-encoded serialized object found in the slot. May be null. |
mread_len | uint32_t | Length of the message. May be null. |
float1 | int64_t | The enclosing XFL integer. |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t |
|