]> git.ipfire.org Git - thirdparty/gnulib.git/commit
totalorderl: Simplify on MSVC.
authorBruno Haible <bruno@clisp.org>
Thu, 18 Apr 2024 14:29:28 +0000 (16:29 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Apr 2024 14:30:09 +0000 (16:30 +0200)
commit0a85f7032eaf4635f440caf4c8cf062fa537c754
treed5ca51dcfb5b96a2658ffa229292f6ab2bb9bbb6
parent0043aa401e64b15834758b3a5eff33c6c9e8769d
totalorderl: Simplify on MSVC.

* lib/totalorderl.c (totalorderl): If 'long double' is the same as
'double', just invoke totalorder. Otherwise, drop the optimized code
for small 'long double' since it does not occur on any platform.
* m4/totalorder.m4 (gl_FUNC_TOTALORDERL): Require
gl_LONG_DOUBLE_VS_DOUBLE. If 'long double' is the same as 'double', use
TOTALORDER_LIBM.
* modules/totalorderl (Depends-on): Add totalorder.
ChangeLog
lib/totalorderl.c
m4/totalorder.m4
modules/totalorderl