xo-numeric: restore numeric function type

This commit is contained in:
Roland Conybeare 2026-03-28 09:45:36 -04:00
commit 5950a45483

View file

@ -24,14 +24,10 @@ namespace xo {
// //
// e.g. f64 x f64 -> f64 // e.g. f64 x f64 -> f64
#ifdef NOPE
auto numeric_ty = DAtomicType::make(mm, Metatype::t_numeric()); auto numeric_ty = DAtomicType::make(mm, Metatype::t_numeric());
// #op+: numeric x numeric -> numeric // #op+: numeric x numeric -> numeric
auto pm_ty = obj<AType,DFunctionType> auto pm_ty = obj<AType,DFunctionType>
(DFunctionType::_make(mm, numeric_ty, numeric_ty, numeric_ty)); (DFunctionType::_make(mm, numeric_ty, numeric_ty, numeric_ty));
#endif
auto pm_ty = obj<AType>();
return DPrimitive_gco_2_gco_gco::_make(mm, c_multiply_pm_name, pm_ty, return DPrimitive_gco_2_gco_gco::_make(mm, c_multiply_pm_name, pm_ty,
&NumericDispatch::multiply); &NumericDispatch::multiply);