remquo(n) Tcl Float Remainder remquo(n)

```

```

# [NAME](#NAME)

remquo - Compute floating point remainder and quadrant determinant

# [SYNOPSIS](#SYNOPSIS)

**package require tcl 9.1**

**remquo x y**

```

```

# [DESCRIPTION](#DESCRIPTION)

The **remquo** command computes the floating-point remainder of *x*/*y*, much like the **remainder** function. Its result is a list of two values; the first value is the remainder, and the second value is an integer containing sign and bits sufficient to determine which octant the gradient was located within.

# [EXAMPLE](#EXAMPLE)

```
lassign [remquo 12.3 3.89] rem quo
puts "rem=$rem, quo=$quo"
#       rem=0.6300000000000003, quo=3
```

# [SEE ALSO](#SEE_ALSO)

[expr(n)](/man/os/tcl/expr.n), [mathfunc(n)](/man/os/tcl/mathfunc.n)

# [KEYWORDS](#KEYWORDS)

floating point

9.1 Tcl

---

Document: remquo(n) from tcl 9.1.0-r1 (Chainguard OS)
Source: https://downloads.sourceforge.net/project/tcl/Tcl/9.1.0/tcl9.1.0-src.tar.gz
