X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fremainderl.c;h=4311aaa14c2f8d70024dcd9054988e255ee50081;hb=7ef6c64e210ac0979d7e8ac69bc5b5208c2405ab;hp=b43592a6446f3a913a542fffb93979b039364d1f;hpb=93c29eb8fc3e97d269fc8939ff47454702e7c585;p=gnulib.git diff --git a/lib/remainderl.c b/lib/remainderl.c index b43592a64..4311aaa14 100644 --- a/lib/remainderl.c +++ b/lib/remainderl.c @@ -1,5 +1,5 @@ /* Remainder. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,11 +29,7 @@ remainderl (long double x, long double y) #else -long double -remainderl (long double x, long double y) -{ - long double i = roundl (x / y); - return fmal (- i, y, x); -} +# define USE_LONG_DOUBLE +# include "remainder.c" #endif