Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
You can edit this page using
wiki syntax
for markup.
Article contents:
[[tags: egg]] == SRFI 278: Supplemental Numerics This SRFI defines miscellaneous procedures on numbers that were either missing from the R7RS or are common extensions, such as hyperbolic functions and a function corresponding to a new IEEE 754 rounding mode. [[toc:]] === Description This SRFI adds a few procedures that can be categorized into the following: #* Standard procedures with extended domains ({{exact-integer?}}). #* Procedures that mimic R6RS procedures ({{strictly-real?}}). #* Procedures that are common extensions (conjugate, hyperbolic functions). #* Procedures that are related to IEEE 754-2019. The extended-domain procedures are more useful because they can be used without invoking “it is an error” behavior. For example, in this SRFI, {{(exact-integer? '())}} and {{(nan? '())}} both return {{#f}}. The R6RS procedures are useful when determining whether a number is exactly on the real number line, as opposed to being approximately on the real number line. The common extensions are the conjugate procedure and the (inverse) hyperbolic functions. The (inverse) hyperbolic functions are commonly provided on Schemes that provide complex arithmetic (for example, Gambit, Chez, Racket, Gauche, and Guile) because those implementations are required to implement complex (inverse) trigonometric functions, which are closely connected to complex (inverse) hyperbolic functions. The procedure {{round-away}} has been added to correspond to the roundTiesToAway rounding mode in IEEE 754-2019. === Author Peter McGoron === Repository https://github.com/mcgoron-peter/srfi-278 === Requirements * [[/egg/srfi-144|srfi-144]] === API The API is not yet stable. Please refer to [[https://srfi.schemers.org/srfi-278/srfi-278.html|SRFI 278]] for a complete description of the API. Since the author of this SRFI is the maintainer of this egg, this eggs should match up with the SRFI in all ways. === Version History When the SRFI is in draft status, the major version number is 0, and the minor version number is the draft number. When the SRFI is finalized, the major version number will become 1. ; 0.1.0 : CHICKEN 6 port === License © 2026 Peter McGoron. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you subtract 6 from 23?