Home
last modified time | relevance | path

Searched refs:SG_INT_MAX (Results 1 – 11 of 11) sorted by relevance

/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/sagittarius/private/
H A Dsagittariusdefs.h376 #define SG_INT_MAX ((1L << SG_INT_SIZE) - 1) macro
377 #define SG_INT_MIN (-SG_INT_MAX - 1)
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/
H A Dlib_fixnums.c966 SG_RESULT=(SG_INT_MAX); in sagittarius_fixnums_greatest_fixnum()
1372 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fx_2b()
1405 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fx_2a()
1450 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fx_()
1497 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxdiv()
1534 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxmod()
1581 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxdiv0()
1617 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxmod0()
2184 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxarithmetic_shift()
2220 if (((SG_INT_MIN)<=(ret))&&((ret)<=(SG_INT_MAX))){SG_RESULT=(ret);} else {{Sg_ImplementationRestric… in sagittarius_fixnums_fxarithmetic_shift_left()
[all …]
H A Dnumber.c160 if ((value <= SG_INT_MAX) && (value >= SG_INT_MIN)) return SG_MAKE_INT(value); in int64_to_integer()
777 if (x >= SG_INT_MIN && x <= SG_INT_MAX) { in Sg_MakeInteger()
786 if (x <= (unsigned long)SG_INT_MAX) { in Sg_MakeIntegerU()
795 if ((x <= SG_INT_MAX) && (x >= SG_INT_MIN)) return SG_MAKE_INT(x); in Sg_MakeIntegerFromS64()
801 if (x <= SG_INT_MAX) return SG_MAKE_INT(x); in Sg_MakeIntegerFromU64()
1582 } else if (d < SG_INT_MIN || d > SG_INT_MAX) { in Sg_Exact()
1590 if (d < SG_INT_MIN || d > SG_INT_MAX) { in Sg_Exact()
1753 if (-ix < (SG_INT_MAX >> count)) { in Sg_Ash()
1758 if (ix < (SG_INT_MAX >> count)) { in Sg_Ash()
2136 if ((v1 != 0 && k / v1 != v0) || !(k >= SG_INT_MIN && k <= SG_INT_MAX)) { in Sg_Mul()
H A Dvminsn.c283 …VALUE(obj))+(SG_INT_VALUE(AC(vm)));if (((SG_INT_MIN)<=(cise__1168))&&((SG_INT_MAX)>=(cise__1168)))… in CASE()
300 {long cise__1170=(val1)+(SG_INT_VALUE(AC(vm)));if (((SG_INT_MIN)<=(cise__1170))&&((SG_INT_MAX)>=(ci… in CASE()
314 …VALUE(obj))-(SG_INT_VALUE(AC(vm)));if (((SG_INT_MIN)<=(cise__1172))&&((SG_INT_MAX)>=(cise__1172)))… in CASE()
331 {long cise__1174=(val1)-(SG_INT_VALUE(AC(vm)));if (((SG_INT_MIN)<=(cise__1174))&&((SG_INT_MAX)>=(ci… in CASE()
H A Dlib_fixnums.stub78 (result SG_INT_MAX))
148 ((_ fx) `(and (<= SG_INT_MIN ,fx) (<= ,fx SG_INT_MAX))))
H A Dcompare.c161 (uint32_t)SG_INT_MAX)); in string_hash()
H A Dinstructions.scm54 (if (and (<= SG_INT_MIN ,r) (>= SG_INT_MAX ,r))
H A Dbignum.c322 && bn->elements[0] <= (unsigned long)SG_INT_MAX) { in bignum_normalize_rec()
501 if ((n >= SG_INT_MIN) && (n <= SG_INT_MAX)) return SG_MAKE_INT(n); in Sg_BignumToInteger()
H A Dlib_core.stub1213 (> (SG_INT_VALUE v) SG_INT_MAX))
1244 (> (SG_INT_VALUE v) SG_INT_MAX))
2706 (cond ((SG_UNBOUNDP bound) (set! modulo (cast uint32_t SG_INT_MAX)))
2720 (cond ((SG_UNBOUNDP bound) (set! modulo (cast uint32_t SG_INT_MAX)))
H A Dreader.c1595 if (param.value < 0 || (long)param.value > SG_INT_MAX) { in dispmacro_reader()
H A Dlib_core.c7760 (SG_INT_VALUE(v))>(SG_INT_MAX))){{ in core_bytevector_s64_native_setX()
7869 (SG_INT_VALUE(v))>(SG_INT_MAX))){{ in core_bytevector_s64_setX()
13132 if (SG_UNBOUNDP(bound)){modulo=(((uint32_t )(SG_INT_MAX)));}else if( in core_string_hash()
13197 if (SG_UNBOUNDP(bound)){modulo=(((uint32_t )(SG_INT_MAX)));}else if( in core_string_ci_hash()