Searched refs:bignum (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.9.5/dtrace-118.1/test/tst/common/struct/
H A Dtst.clauselocal.d38 long bignum;
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_numeric.rb246 i, bignum = 32, 1 << 30
247 bignum <<= (i <<= 1) - 32 until bignum.is_a?(Bignum)
251 assert_equal(bignum*2+1, (-bignum).step(bignum, 1).size)
252 assert_equal(bignum*2, (-bignum).step(bignum-1, 1).size)
256 i, bigflo = 1, bignum
[all...]
H A Dtest_range.rb526 bignum = 2**100
528 assert_equal(bignum + 0, (bignum...bignum+ary.size).bsearch {|i| ary[i - bignum] >= 2 })
529 assert_equal(bignum + 1, (bignum...bignum+ary.size).bsearch {|i| ary[i - bignum] >= 4 })
530 assert_equal(bignum
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/math/
H A Dbignum.tcl0 # bignum library in pure Tcl [VERSION 7Sep2004]
53 namespace eval ::math::bignum {}
60 set ::math::bignum::atombits 16
61 set ::math::bignum::atombase [expr {1 << $::math::bignum::atombits}]
62 set ::math::bignum::atommask [expr {$::math::bignum::atombase-1}]
68 proc ::math::bignum::max {a b} {
73 proc ::math::bignum::min {a b} {
77 ############################ Basic bignum operation
[all...]
H A DpkgIndex.tcl22 package ifneeded math::bignum 3.1.1 [list source [file join $dir bignum.tcl]]
H A Dbigfloat.tcl49 package require math::bignum
56 # it is using the package math::bignum
66 set zero [::math::bignum::fromstr 0]
68 set one [::math::bignum::fromstr 1]
70 set two [::math::bignum::fromstr 2]
72 set three [::math::bignum::fromstr 3]
74 set four [::math::bignum::fromstr 4]
76 set five [::math::bignum::fromstr 5]
78 set ten [::math::bignum::fromstr 10]
125 return [::math::bignum
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/openssl/
H A Dossl_pkey.h123 static VALUE ossl_##keytype##_set_##name(VALUE self, VALUE bignum) \
129 if (NIL_P(bignum)) { \
135 bn = GetBNPtr(bignum); \
142 return bignum; \
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/asn/
H A Dasn.tcl392 # asnBigInteger : Encode a long integer value using math::bignum
395 proc ::asn::asnBigInteger {bignum} {
396 # require math::bignum only if it is used
397 package require math::bignum
399 # this is a hack to check for bignum...
400 if {[llength $bignum] < 2 || ([lindex $bignum 0] ne "bignum")} {
401 return -code error "expected math::bignum value got \"$bignum\""
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/test/
H A Dtestbuckets.c311 const apr_off_t bignum = (APR_INT64_C(2) << 32) + 424242; local
322 if (apr_file_trunc(f, bignum)) {
331 e = apr_brigade_insert_file(bb, f, 0, bignum, p);
347 ABTS_ASSERT(tc, "total size of buckets incorrect", count == bignum);
/macosx-10.9.5/tcl-102/tcl/tcl/generic/
H A DtclObj.c182 * Macros to pack/unpack a bignum's fields in a Tcl_Obj internal rep
185 #define PACK_BIGNUM(bignum, objPtr) \
186 if ((bignum).used > 0x7fff) { \
188 *temp = bignum; \
192 if ((bignum).alloc > 0x7fff) { \
193 mp_shrink(&(bignum)); \
195 (objPtr)->internalRep.ptrAndLongRep.ptr = (void*) (bignum).dp; \
196 (objPtr)->internalRep.ptrAndLongRep.value = ( ((bignum).sign << 30) \
197 | ((bignum).alloc << 15) | ((bignum)
[all...]
H A DtclInt.h2514 MODULE_SCOPE double TclBignumToDouble(mp_int *bignum);
3710 * Core procedures added to libtommath for bignum manipulation.
3716 MODULE_SCOPE void TclBNInitBignumFromLong(mp_int *bignum, long initVal);
3717 MODULE_SCOPE void TclBNInitBignumFromWideInt(mp_int *bignum,
3719 MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum,
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/examples/math/
H A Dbigfloat.demo.tcl116 set x [fromstr $::bignum]
118 set x [fromstr $::bignum $::zeros]
121 set ::bignum 1.00
157 set ::bignum 1.00
158 entry $c.bignum -textvariable ::bignum -width 16
159 pack $c.bignum -in $c -side left
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/test/
H A Dtestbuckets.c311 const apr_off_t bignum = (APR_INT64_C(2) << 32) + 424242; local
322 if (apr_file_trunc(f, bignum)) {
331 e = apr_brigade_insert_file(bb, f, 0, bignum, p);
347 ABTS_ASSERT(tc, "total size of buckets incorrect", count == bignum);
/macosx-10.9.5/ruby-104/ruby/
H A Dsprintf.c762 int base, bignum = 0; local
802 bignum = 1;
808 bignum = 1;
834 if (!bignum) {
982 if (!bignum && v < 0) {
991 if (!sign && bignum && !RBIGNUM_SIGN(val))
H A Dcommon.mk40 bignum.$(OBJEXT) \
629 bignum.$(OBJEXT): {$(VPATH)}bignum.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
H A Dnumeric.c2477 rb_raise(rb_eRangeError, "bignum out of char range");
2941 bignum:
2951 goto bignum;
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonRSA.c237 CCBigNumRef bignum = CCBigNumFromDecimalString(&status, input);
238 ok(status == kCCSuccess, "Converted to bignum from dec string");
239 *len = (size_t) CCBigNumByteCount(bignum);
244 *len = CCBigNumToData(&status, bignum, retbuf);
245 ok(status == kCCSuccess, "Converted bignum to byte string");
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/python/test/
H A Dtest_unittest.py550 bignum = sys.maxint + 1
554 r.l = bignum
555 self.assertEqual(r.l, bignum)
/macosx-10.9.5/CPANInternal-140/Crypt-OpenSSL-Bignum/
H A DBignum.pm73 addition, this module can be used to provide access to bignum values
/macosx-10.9.5/CPANInternal-140/Crypt-OpenSSL-Bignum-0.04/
H A DBignum.pm73 addition, this module can be used to provide access to bignum values
/macosx-10.9.5/CF-855.17/
H A DCFNumberFormatter.c457 _CFBigNum bignum; \
458 FUN(&bignum, value); \
460 _CFBigNumToCString(&bignum, false, true, buffer, BUFFER_SIZE); \
/macosx-10.9.5/CPANInternal-140/JSON/lib/JSON/
H A DPP.pm258 my $bignum;
276 $convert_blessed, $escape_slash, $bignum, $as_nonblessed)
335 return "$obj" if ( $bignum and _is_bignum($obj) );
/macosx-10.9.5/cctools-845/as/
H A DMakefile66 HFILES = app.h as.h atof-ieee.h bignum.h expr.h fixes.h flonum.h frags.h \
/macosx-10.9.5/ruby-104/ruby/ext/json/generator/
H A Dgenerator.c351 GENERATE_JSON(bignum);
/macosx-10.9.5/CPANInternal-140/JSON-2.53/lib/JSON/
H A DbackportPP.pm258 my $bignum;
276 $convert_blessed, $escape_slash, $bignum, $as_nonblessed)
338 return "$obj" if ( $bignum and _is_bignum($obj) );

Completed in 232 milliseconds

12