informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

ifx_int8div()

The ifx_int8div() function divides two int8 type values.

Syntax

Usage

The quotient can be the same as either n1 or n2.

Return Codes

0 The operation was successful.
-1202 The operation attempted to divide by zero.

Example

The file int8div.ec in the demo directory contains the following sample program.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved