Changeset ed9043f7 in mainline
- Timestamp:
- 2018-08-29T20:06:18Z (7 years ago)
- Children:
- 9d1f371
- Parents:
- 84929b0
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-29 20:04:28)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-29 20:06:18)
- Location:
- uspace/lib/softfloat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/comparison.c
r84929b0 red9043f7 681 681 } 682 682 683 int __aeabi_fcmpun(float32_t a, float32_t b) 684 { 685 float32_u ua; 686 ua.val = a; 687 688 float32_u ub; 689 ub.val = b; 690 691 // TODO: sigNaNs 692 return is_float32_nan(ua.data) || is_float32_nan(ub.data); 693 } 694 683 695 #endif 684 696 … … 920 932 } 921 933 934 int __aeabi_dcmpun(float64_t a, float64_t b) 935 { 936 float64_u ua; 937 ua.val = a; 938 939 float64_u ub; 940 ub.val = b; 941 942 // TODO: sigNaNs 943 return is_float64_nan(ua.data) || is_float64_nan(ub.data); 944 } 945 922 946 #endif 923 947 -
uspace/lib/softfloat/comparison.h
r84929b0 red9043f7 93 93 extern int __aeabi_fcmple(float32_t, float32_t); 94 94 extern int __aeabi_fcmpeq(float32_t, float32_t); 95 extern int __aeabi_fcmpun(float32_t, float32_t); 95 96 #endif 96 97 … … 109 110 extern int __aeabi_dcmpge(float64_t, float64_t); 110 111 extern int __aeabi_dcmple(float64_t, float64_t); 112 extern int __aeabi_dcmpun(float64_t, float64_t); 111 113 #endif 112 114
Note:
See TracChangeset
for help on using the changeset viewer.