291
313
# some standard binary functions
292
314
bifunc('power',['pow','op**'],1,'raise piddle C<$a> to the power C<b>',GenericTypes => [D]);
293
315
bifunc('atan2','atan2',1,'elementwise C<atan2> of two piddles',GenericTypes => [D]);
294
bifunc('modulo',['MOD','op%'],1,'elementwise C<modulo> operation');
295
bifunc('spaceship',['SPACE','op<=>'],1,'elementwise C<~> operation');
316
bifunc('modulo',['MOD','op%'],1,'elementwise C<modulo> operation',unsigned=>1);
317
bifunc('spaceship',['SPACE','op<=>'],1,'elementwise "<=>" operation');
297
319
# some standard unary functions
298
320
ufunc('sqrt','sqrt','elementwise square root', Exception => '$a() < 0' );