xo-numeric: restore numeric function type
This commit is contained in:
parent
9e88672ad4
commit
5950a45483
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue