remove scheme_complex_izi_type from docs

This commit is contained in:
Gustavo Massaccesi 2017-12-01 11:14:02 -03:00 committed by Matthew Flatt
parent 1f4b989e48
commit 516cb73034
2 changed files with 10 additions and 18 deletions

View File

@ -11,17 +11,14 @@ represented by fixnums and bignums.
Rationals are implemented by the type @cppi{scheme_rational_type}, Rationals are implemented by the type @cppi{scheme_rational_type},
composed of a numerator and a denominator. composed of a numerator and a denominator.
The numerator and denominator fixnums or bignums (possibly mixed). The numerator and denominator will be fixnums or bignums (possibly mixed).
Complex numbers are implemented by the types Complex numbers are implemented by the type @cppi{scheme_complex_type},
@cppi{scheme_complex_type} and @cppi{scheme_complex_izi_type},
composed of a real and imaginary part. The real and imaginary parts composed of a real and imaginary part. The real and imaginary parts
will either be both flonums, both exact numbers (fixnums, bignums, and will either be both flonums, both exact numbers (fixnums, bignums, and
rationals can be mixed in any way), or one part will be exact 0 and rationals can be mixed in any way), or the real part will be exact 0 and
the other part will be a flonum. If the inexact part is inexact 0, the the imaginary part will be a single-precision (when enabled) or
type is @cpp{scheme_complex_izi_type}, otherwise the type is double-pecision flonum.
@cppi{scheme_complex_type}; this distinction make it easy to test
whether a complex number should be treated as a real number.
@function[(int scheme_is_exact @function[(int scheme_is_exact
@ -89,7 +86,7 @@ Writes a bignum into a newly allocated byte string.}
Reads a bignum from a @cpp{mzchar} string, starting from position Reads a bignum from a @cpp{mzchar} string, starting from position
@var{offset} in @var{str}. If the string does not represent an @var{offset} in @var{str}. If the string does not represent an
integer, then @cpp{NULL} will be returned. If the string represents a integer, then @cpp{NULL} will be returned. If the string represents a
number that fits in 31 bits, then a @cpp{scheme_integer_type} number that fits in a fixnum, then a @cpp{scheme_integer_type}
object will be returned.} object will be returned.}
@function[(Scheme_Object* scheme_read_bignum_bytes @function[(Scheme_Object* scheme_read_bignum_bytes
@ -102,7 +99,7 @@ Like @cpp{scheme_read_bignum}, but from a UTF-8-encoding byte string.}
@function[(Scheme_Object* scheme_bignum_normalize @function[(Scheme_Object* scheme_bignum_normalize
[Scheme_Object* n])]{ [Scheme_Object* n])]{
If @var{n} fits in 31 bits, then a @cpp{scheme_integer_type} object If @var{n} fits in a fixnum, then a @cpp{scheme_integer_type} object
will be returned. Otherwise, @var{n} is returned.} will be returned. Otherwise, @var{n} is returned.}
@function[(Scheme_Object* scheme_make_rational @function[(Scheme_Object* scheme_make_rational

View File

@ -99,12 +99,8 @@ types:
@item{@cppdef{scheme_rational_type} --- test for this type with @item{@cppdef{scheme_rational_type} --- test for this type with
@cppdef{SCHEME_RATIONALP}} @cppdef{SCHEME_RATIONALP}}
@item{@cppdef{scheme_complex_type} --- test for this type or @item{@cppdef{scheme_complex_type} --- test for this type
@cpp{scheme_complex_izi_type} with @cppdef{SCHEME_COMPLEXP}} with @cppdef{SCHEME_COMPLEXP}}
@item{@cppdef{scheme_complex_izi_type} --- complex number with an inexact
zero imaginary part (so it counts as a real number); test for this
type specifically with @cppdef{SCHEME_COMPLEX_IZIP}}
@item{@cppdef{scheme_char_string_type} --- @index['("strings" @item{@cppdef{scheme_char_string_type} --- @index['("strings"
"conversion to C")]{@cppdef{SCHEME_CHAR_STR_VAL}} extracts the string "conversion to C")]{@cppdef{SCHEME_CHAR_STR_VAL}} extracts the string
@ -262,8 +258,7 @@ The following are additional number predicates:
@item{@cppdef{SCHEME_NUMBERP} --- all numerical types} @item{@cppdef{SCHEME_NUMBERP} --- all numerical types}
@item{@cppdef{SCHEME_REALP} --- all non-complex numerical types, plus @item{@cppdef{SCHEME_REALP} --- all non-complex numerical types}
@cpp{scheme_complex_izi_type}}
@item{@cppdef{SCHEME_EXACT_INTEGERP} --- fixnums and bignums} @item{@cppdef{SCHEME_EXACT_INTEGERP} --- fixnums and bignums}