Skip to content

Commit

Permalink
Update Coalton documentation for coalton-lang/coalton@b5e8693
Browse files Browse the repository at this point in the history
  • Loading branch information
coalton-docs-bot authored and stylewarning committed Oct 16, 2024
1 parent 46a3854 commit b08e871
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions content/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5745,21 +5745,17 @@ Exponentiate BASE to a signed POWER.

# Package `COALTON-LIBRARY/MATH/REAL`<a name="coalton-library/math/real-package"></a>

### Types
### Structs

#### <code><a href="https://github.com/coalton-lang/coalton/tree/main/library/math/real.lisp#L201-L212">QUANTIZATION</a></code> <sup><sub>[TYPE]</sub></sup><a name="quantization-type"></a>
#### <code><a href="https://github.com/coalton-lang/coalton/tree/main/library/math/real.lisp#L201-L212">QUANTIZATION :A</a></code> <sup><sub>[STRUCT]</sub></sup><a name="quantization-type"></a>
- <code>VALUE :: :A</code><br/>A value of type `:a`.
- <code>FLOOR :: COALTON:INTEGER</code><br/>The greatest integer less than or equal to a particular value.
- <code>FLOOR-REM :: :A</code><br/>The remainder of the floor operation as type `:a`.
- <code>CEILING :: COALTON:INTEGER</code><br/>The least integer greater than or equal to a particular value.
- <code>CEILING-REM :: :A</code><br/>The remainder of the ceiling operation as type `:a`.

Represents an integer quantization of `:a`.

The fields are defined as follows:

1. A value of type `:a`.
2. The greatest integer less than or equal to a particular value.
3. The remainder of this as a value of type `:a`.
4. The least integer greater than or equal to a particular value.
5. The remainder of this as a value of type `:a`.


<details>
<summary>Instances</summary>

Expand Down

0 comments on commit b08e871

Please sign in to comment.