@@ -152,6 +152,8 @@ libm_macros::for_each_function! {
152152 floorf16,
153153 fmod,
154154 fmodf,
155+ fmodf128,
156+ fmodf16,
155157 frexp,
156158 frexpf,
157159 ilogb,
@@ -300,21 +302,6 @@ macro_rules! impl_op_for_ty {
300302 }
301303 }
302304
303- impl MpOp for crate :: op:: [ <fmod $suffix>] :: Routine {
304- type MpTy = ( MpFloat , MpFloat ) ;
305-
306- fn new_mp( ) -> Self :: MpTy {
307- ( new_mpfloat:: <Self :: FTy >( ) , new_mpfloat:: <Self :: FTy >( ) )
308- }
309-
310- fn run( this: & mut Self :: MpTy , input: Self :: RustArgs ) -> Self :: RustRet {
311- this. 0 . assign( input. 0 ) ;
312- this. 1 . assign( input. 1 ) ;
313- let ord = this. 0 . rem_assign_round( & this. 1 , Nearest ) ;
314- prep_retval:: <Self :: RustRet >( & mut this. 0 , ord)
315- }
316- }
317-
318305 impl MpOp for crate :: op:: [ <frexp $suffix>] :: Routine {
319306 type MpTy = MpFloat ;
320307
@@ -480,6 +467,21 @@ macro_rules! impl_op_for_ty_all {
480467 prep_retval:: <Self :: RustRet >( & mut this. 0 , Ordering :: Equal )
481468 }
482469 }
470+
471+ impl MpOp for crate :: op:: [ <fmod $suffix>] :: Routine {
472+ type MpTy = ( MpFloat , MpFloat ) ;
473+
474+ fn new_mp( ) -> Self :: MpTy {
475+ ( new_mpfloat:: <Self :: FTy >( ) , new_mpfloat:: <Self :: FTy >( ) )
476+ }
477+
478+ fn run( this: & mut Self :: MpTy , input: Self :: RustArgs ) -> Self :: RustRet {
479+ this. 0 . assign( input. 0 ) ;
480+ this. 1 . assign( input. 1 ) ;
481+ let ord = this. 0 . rem_assign_round( & this. 1 , Nearest ) ;
482+ prep_retval:: <Self :: RustRet >( & mut this. 0 , ord)
483+ }
484+ }
483485 }
484486 } ;
485487}
0 commit comments