MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / softfloat_add128

Function softfloat_add128

lib/softfloat/source/s_add128.c:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#ifndef softfloat_add128
42
43struct uint128
44 softfloat_add128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 )
45{
46 struct uint128 z;
47
48 z.v0 = a0 + b0;
49 z.v64 = a64 + b64 + (z.v0 < a0);
50 return z;
51
52}
53
54#endif
55

Callers 4

extF80_mulFunction · 0.70
extF80_remFunction · 0.70
extF80_divFunction · 0.70
extF80_sqrtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected