aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_le128.c
blob: 83b1d7f34a33dc06a9eef5a99701a1c538029f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include <stdbool.h>
#include <stdint.h>
#include "platform.h"
#include "primitives.h"

bool softfloat_le128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 )
{

    return ( a64 < b64 ) || ( ( a64 == b64 ) && ( a0 <= b0 ) );

}