From 7a2e08cdb14fd198a6f15468e24dd98791990df8 Mon Sep 17 00:00:00 2001 From: Dominic Symes Date: Wed, 26 May 2021 17:44:19 +0100 Subject: Rename and clarify the divide operator. Name changed from DIV to INTDIV. Usage clarified. Change-Id: I493b8ace7a63e4c80caac1674c767c1ad468dd83 Signed-off-by: Dominic Symes --- chapters/ewise_binary.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chapters/ewise_binary.adoc b/chapters/ewise_binary.adoc index 18518bd..45075e9 100644 --- a/chapters/ewise_binary.adoc +++ b/chapters/ewise_binary.adoc @@ -208,12 +208,13 @@ for_each(index in shape) { |Any|signed 32|int32_t |=== -==== DIV +==== INTDIV -Elementwise divide of input1 by input2. +Elementwise integer divide of input1 by input2. The result of the divide is truncated towards zero. -Only used for integer operation. +Expected use is for operations on non-scaled integers. Floating point divide should use RECIPROCAL and MUL. +Quantized integer divide should use TABLE (for 1/x) and MUL. *Arguments:* -- cgit v1.2.1