# DivS64

Computes the quotient and remainder of a 64-bit division.

### Synopsis

`int64 *DivS64( int64 *q, int64 *r, int64 *d1, int64 *d2 )`

### Description

This function divides one 64-bit integer by another and returns the quotient and remainder.

### Arguments

q
  A pointer to a 64-bit integer to store the quotient.

r
  A pointer to a 64-bit integer to store the remainder.

d1
  A pointer to a dividend.

d2
  A pointer to a divisor.

### Return Value

The function returns a pointer to q.

### Implementation

Folio call implemented in operamath V20.

### Associated Files

operamath.h, operamath.lib

### Caveats

The function does not detect overflows.

### See Also

``DivRemU32`(), DivRemS32(), DivU64(), DivSF16(), DivUF16(), DivRemUF16(), DivRemSF16()`