summaryrefslogtreecommitdiff
path: root/sc/source/core/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-09 16:44:45 +0200
committerTor Lillqvist <tml@collabora.com>2015-02-09 19:38:15 +0200
commitf5e7207053b857b6903a0ab9c161bed9ad7bcee9 (patch)
tree7f245d8be9738d62c69174b91e179717bf67a4ac /sc/source/core/inc
parent052fa9bc383f6dd0b6ca705984d03d4ec8d11824 (diff)
Handle zero and empty cells (which also means zero) in OpenCL for division
Not sure if it makes sense to keep having OpDiv a subclass of Reduction. There is no DIV() function that would take a range of cells, so it isn't really comparable to the other Reducion subclasses. But let's keep that as it is for now. We need to handle three cases specially in the OpenCL: Dividing by an empty cell which should produce an #DIV/0! error, dividing an empty cell by zero which also should produce #DIV/0!, and dividing an empty cell with anything else number which should produce 0. Change-Id: I86d86f652047d6f9e3c095c3ef135a8f5396b000
Diffstat (limited to 'sc/source/core/inc')
0 files changed, 0 insertions, 0 deletions