リファレンス 214 ドキュメント 7 サンプル 55
標準機能 702 advapi32.dll 419 api-ms-win-core-winrt-string-l1-1-0.dll 1 api-ms-win-dx-d3dkmt-l1-1-0.dll 1 arduino 12 Artlet2D 55 avrt.dll 11 bcrypt.dll 53 com_misc.dll 1238 comctl32.dll 94 comdlg32.dll 2 crypt32.dll 218 d2d1.dll 13 d3d11.dll 5 d3module 29 dbghelp.dll 128 dinput8.dll 1 dwmapi.dll 31 dwrite.dll 1 dxgi.dll 5 DxLibW 2738 encode.as 8 evr.dll 7 form_decode 1 gdi32.dll 384 gdiplus.dll 627 glu32.dll 52 hgimg3 152 hgimg4 166 hsedsdk 36 HSP3Dish 119 hsp3imp 4 hsp3util 17 hspble.dll 13 hspcbcom 11 hspcmp 21 hspcv 31 hspcv4 275 hspd2d 28 hspda 23 hspdb 8 hspdb.dll 14 hspduckdb.dll 10 hspext 59 hspinet 60 hspjson.dll 10 hspllama.dll 11 hspmath 41 hspmathex.dll 81 hspmcp.dll 7 hspmfcam.dll 30 hspmidi.dll 17 hspmucom 17 hspogg 20 hsponnx.dll 13 hsppdf.dll 11 hspprint 6 hspsapi_64.dll 3 hspsock 12 hsptflite.dll 19 hsptv 2 hspusbio 6 hspvcam 10 hspvosk_64.dll 4 hspwasm.dll 10 hspwebsrv.dll 9 hspwebview2.dll 18 hspwgcapture.dll 8 hspwhisper_64.dll 4 hspwinrtocr.dll 5 hspwinrtspeech_64.dll 3 httpapi.dll 42 imm32.dll 63 iphlpapi.dll 194 iron_7z.hsp 6 iron_ai.hsp 9 iron_ai_embeddings.hsp 4 iron_ai_tools.hsp 5 iron_ai_tts.hsp 3 iron_ai_vision.hsp 3 iron_array2.hsp 8 iron_barcode.hsp 1 iron_bigint.hsp 30 iron_bloom.hsp 3 iron_cache.hsp 4 iron_camera.hsp 6 iron_camera_mf.hsp 31 iron_clip.hsp 4 iron_clipboard_net.hsp 6 iron_collection.hsp 7 iron_color.hsp 4 iron_combinatorics.hsp 6 iron_complex.hsp 6 iron_csv.hsp 8 iron_curvefit.hsp 2 iron_dialog.hsp 5 iron_diff.hsp 1 iron_dns.hsp 3 iron_docx.hsp 1 iron_dotenv.hsp 1 iron_download.hsp 2 iron_embedding.hsp 2 iron_event.hsp 2 iron_excel.hsp 9 iron_faker.hsp 5 iron_ffmpeg.hsp 5 iron_fft.hsp 1 iron_filter.hsp 3 iron_ga.hsp 4 iron_geometry.hsp 5 iron_glob.hsp 1 iron_grpc.hsp 2 iron_hash.hsp 12 iron_http.hsp 4 iron_http_net.hsp 6 iron_humanize.hsp 4 iron_image_net.hsp 8 iron_ini.hsp 11 iron_json.hsp 10 iron_kmeans.hsp 1 iron_mcp_client.hsp 9 iron_mcp_server.hsp 6 iron_mediapipe.hsp 13 iron_montecarlo.hsp 2 iron_mqtt.hsp 6 iron_msgpack.hsp 1 iron_nn.hsp 3 iron_ode.hsp 1 iron_office.hsp 6 iron_optimize.hsp 1 iron_perf.hsp 5 iron_ping.hsp 2 iron_pptx.hsp 3 iron_process_net.hsp 5 iron_progress_cl.hsp 1 iron_quaternion.hsp 5 iron_rag.hsp 7 iron_random_dist.hsp 4 iron_rest.hsp 7 iron_retry.hsp 2 iron_scraper.hsp 2 iron_sentiment.hsp 2 iron_serial.hsp 6 iron_serial_net.hsp 5 iron_shell.hsp 6 iron_simd.hsp 34 iron_spectrum.hsp 1 iron_speech.hsp 9 iron_statemachine.hsp 6 iron_str2.hsp 11 iron_summarize.hsp 1 iron_synth.hsp 3 iron_sysinfo.hsp 10 iron_table2.hsp 1 iron_taskdialog.hsp 32 iron_tcp.hsp 6 iron_test.hsp 7 iron_threading.hsp 5 iron_toast.hsp 4 iron_udp.hsp 4 iron_url.hsp 6 iron_video.hsp 10 iron_websocket.hsp 5 iron_wpf.hsp 7 iron_xlsx.hsp 11 iron_zip_net.hsp 5 kernel32.dll 884 layer_fade 5 mf.dll 31 mfplat.dll 122 mfreadwrite.dll 5 mod_fontdlg 1 mod_joystick2 2 mod_menu 3 mod_mmaudio 7 mod_picfont 2 mod_posteffect 7 mod_regexp 4 mod_rss 1 mod_vpad 5 msimg32.dll 3 ncrypt.dll 1 netapi32.dll 45 normaliz.dll 2 obaq 51 obj 4 ole32.dll 143 oleaut32.dll 404 opengl32.dll 353 powrprof.dll 84 propsys.dll 1 psapi.dll 20 secur32.dll 2 shell32.dll 195 shlwapi.dll 15 SQLele 18 urlmon.dll 71 user32.dll 607 userenv.dll 34 uxtheme.dll 77 version.dll 7 wer.dll 20 windowscodecs.dll 9 winhttp.dll 46 wininet.dll 192 winmm.dll 146 wintrust.dll 7 wlanapi.dll 59 wmvcore.dll 11 ws2_32.dll 90 wtsapi32.dll 44 xaudio2_8.dll 4 xmllite.dll 6 ZLibWrap 2

iron_bigint.hsp

Version 3.8 Date 2026/04/18 Author IronHSP

iron_bigint

bi
文字列から BigInt を生成
10進数文字列から任意精度整数を生成してハンドルを返します。 先頭に "+" / "-" を付けることも可能です。失敗時 0。
bi_abs
絶対値
|a| を返します。..
bi_add
BigInt 加算
a + b を新しいハンドルで返します。
bi_and
ビット AND
|a| AND |b| を返します (符号は無視)。
bi_bitlen
bit 長を取得
絶対値を表現するのに必要な bit 数を返します (0 のとき 0)。
bi_clone
ハンドルを複製
既存ハンドルの値を複製した新しいハンドルを返します。
bi_cmp
比較
a < b なら -1、a = b なら 0、a > b なら 1 を返します。
bi_div
BigInt 除算 (商)
a / b (整数商) を新しいハンドルで返します。0 除算の場合 0。
bi_eq
等値判定
a = b なら 1、違えば 0。
bi_free
ハンドルを解放
bi() 等で取得したハンドルを解放します。
bi_from
int から BigInt を生成
32bit 整数から BigInt を生成します。
bi_from64
64bit int から BigInt を生成
64bit 整数 (低位 32bit + 高位 32bit) から BigInt を生成します。
bi_gcd
最大公約数
|a| と |b| の最大公約数を返します。
bi_gt
大なり判定
a > b なら 1、違えば 0。
bi_hex
BigInt を 16進文字列に変換
ハンドルの値を 16進 (大文字) 文字列に変換して返します。
bi_int
BigInt の下位 32bit を整数として取得
下位 32bit を int として取得します (オーバーフローは切り捨て)。
bi_int64
BigInt の下位 64bit を lo/hi で取得
下位 64bit を lo/hi 2つの int に分けて取得します。
bi_lt
小なり判定
a < b なら 1、違えば 0。
bi_mod
BigInt 剰余
a % b を新しいハンドルで返します (符号は被除数 a と同じ / C 流 trunc)。
bi_mul
BigInt 乗算
a * b を新しいハンドルで返します。
bi_neg
符号反転
-a を返します (0 は 0 のまま)。
bi_or
ビット OR
|a| OR |b| を返します。
bi_pop
プール終了 (一括解放)
bi_push で開始したプール内のハンドルを一括解放します。 bi_push とネストして入れ子にもできます。
bi_pow
BigInt 冪乗
a ^ exponent (exponent は通常の int) を返します。 exponent が負の場合は 0 を返します。
bi_push
プール開始
自動解放プールを開始します。以後 bi_* で取得したハンドルは プールに追跡され、対応する bi_pop で一括解放されます。
bi_shl
左シフト
a << bits を返します。
bi_shr
右シフト
a >> bits を返します。
bi_str
BigInt を 10進文字列に変換
ハンドルの値を 10進文字列に変換して返します (defcfunc)。
bi_sub
BigInt 減算
a - b を新しいハンドルで返します。
bi_xor
ビット XOR
|a| XOR |b| を返します。