Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
s_sub128.c File Reference
#include <stdint.h>
#include "platform.h"
#include "primitiveTypes.h"
Include dependency graph for s_sub128.c:

Go to the source code of this file.

Functions

struct uint128 softfloat_sub128 (uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0)
 

Function Documentation

◆ softfloat_sub128()

struct uint128 softfloat_sub128 ( uint64_t a64,
uint64_t a0,
uint64_t b64,
uint64_t b0 )

Definition at line 44 of file s_sub128.c.

45{
46 struct uint128 z;
47
48 z.v0 = a0 - b0;
49 z.v64 = a64 - b64 - (a0 < b0);
50 return z;
51
52}