aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_lt128.c
blob: 53018bab54b0f8b241953b2cf21c7f95b4c194d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// See LICENSE.SoftFloat for license details.


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

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

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

}