p-hatan/ mirror

pub repository

mirror.p-hatan.ir

fixnum

1.1.0

Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes.

Download archive

Readme

Dart CI Pub package publisher

A fixed-width 32- and 64- bit integer library for Dart.

Provides data types for signed 32- and 64-bit integers. The integer implementations in this library are designed to work identically whether executed on the Dart VM or compiled to JavaScript.

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Changelog

1.1.0

  • Add tryParseRadix, tryParseInt and tryParseHex static methods to both Int32 and Int64.
  • Document exception and overflow behavior of parse functions, and of toHexString.
  • Make Int32 parse functions consistent with documentation (accept leading minus sign, do not accept empty inputs).
  • Update the minimum SDK constraint to 2.19.
  • Update to package:lints 2.0.0.

1.0.1

  • Switch to using package:lints.
  • Populate the pubspec repository field.

1.0.0

  • Stable null safety release.

1.0.0-nullsafety.0

  • Migrate to null safety.
    • This is meant to be mostly non-breaking, for opted in users runtime errors will be promoted to static errors. For non-opted in users the runtime errors are still present in their original form.

0.10.11

  • Update minimum SDK constraint to version 2.1.1.

0.10.10

  • Fix Int64 parsing to throw FormatException on an empty string or single minus sign. Previous incorrect behaviour was to throw a RangeError or silently return zero.

0.10.9

  • Add Int64.toStringUnsigned() and Int64.toRadixStringUnsigned() functions.

0.10.8

  • Set SDK version constraint to >=2.0.0-dev.65 <3.0.0.

0.10.7

  • Bug fix: Make bit shifts work at bitwidth boundaries. Previously, new Int64(3) << 64 == Int64(3). This ensures that the result is 0 in such cases.
  • Updated maximum SDK constraint from 2.0.0-dev.infinity to 2.0.0.

0.10.6

  • Fix Int64([int value]) constructor to avoid rounding error on intermediate results for large negative inputs when compiled to JavaScript. new Int64(-1000000000000000000) used to produce the same value as Int64.parseInt("-1000000000000000001")

0.10.5

  • Fix strong mode warning in overridden compareTo() methods.

No changelog entries for previous versions...

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add fixnum
pubspec.yaml
name: fixnum
version: 1.1.0
description: >-
  Library for 32- and 64-bit signed fixed-width integers with consistent
  behavior between native and JS runtimes.
repository: https://github.com/dart-lang/fixnum

environment:
  sdk: '>=2.19.0 <3.0.0'

dev_dependencies:
  lints: ^2.0.0
  test: ^1.16.0

Version history

VersionPublishedArchiveSHA-256
0.6.82013-07-19T20:55:36.394ZDownload306854b2bde3a8f89265141ca3ed4fe1a364c481571bec0be2e79a22d4198a32
0.6.92013-07-22T15:13:58.477920ZDownloadeb52659b2d8628b65fd21005db18b6b3895e35c2efb9b4d1f2510bb232fe64d2
0.6.9+22013-07-24T03:58:40.550650ZDownloadb4afb24077b71106f70285df5b2f048e537f2fe033e2ba98b55ef4e367bacda2
0.6.112013-07-25T05:09:47.354960ZDownload9ae1877ca2581a7ec144093c01537d24aa83ba1cbc64549d7927f21d73f7e325
0.6.122013-07-26T20:06:01.546680ZDownload40ed526005c460a05a9991641e97d9d19cb33e0d4f252d488c5c51335ef42b2e
0.6.132013-07-30T21:56:03.868830ZDownload1d60c836c606c798227d61fb7a5f1b05e0f144a6d4ae46676d1b3c377c9f1456
0.6.142013-08-02T16:24:38.829450ZDownload1dfa86f4c7ed819af7478aef665cb00f800aa054e0dcc86a5878caab0283a7c5
0.6.15+22013-08-05T22:49:36.078300ZDownloadcb00710c4c0344e55fc4faa76f15855e129149681252fbacb0eb2254af678f50
0.6.15+32013-08-06T20:12:59.732060ZDownloadb8e69e249cd3707847960fa623f57b5d8b804dda3797d541573d30c6904ef79c
0.6.172013-08-10T17:35:23.232620ZDownload0a67b9cbbc2a9a48bda91da6383ed45896ae9503660aaa638c9cdbdf5dec1734
0.6.17+22013-08-12T22:21:31.423340ZDownload590aa49809751fefe5ad3dbcca8419d9fcbd02584a9b77bc47fb386169cf49d1
0.6.192013-08-19T16:10:46.248270ZDownloadd641fc865f91c579cf53539048bd126f4fcad627b81ed62237004b3c28b399bc
0.6.20+12013-08-22T18:19:09.191880ZDownloadb432cb8281dc32ae765389172d22f1a364b1263a1e50a1b7dc0719eb6d389be3
0.6.21+32013-08-26T17:42:27.732990ZDownload390dfde624131f82ab070ede956347ab2700d4895a8ae3f52f82246b694f8fd5
0.7.02013-08-28T19:28:56.089120ZDownloadb7fb8cf17ffc4cb423c72b46593682cd5c203e06370028c9a7d25cd27504e9ec
0.7.12013-09-03T15:50:10.759210ZDownloadb79072ef4ec57677636743fd41b21cc12271c9c285f826c22576751764c42eb3
0.7.22013-09-06T15:50:56.080750ZDownloadf22ce72fbee35ed294be8d4d8fa8129d191dcc20ba766e22bafeb0e775f7da82
0.7.2+12013-09-08T15:47:04.638550ZDownloadec68233e60bbe986dfd089b780d3ef27041a431f1a39f2b63962f04c20710dda
0.7.3+12013-09-16T15:43:24.413680ZDownloadeb5000acb9a6b3dbc03e0c153b457e79f149ca2f06908a54c977ba8a9b015118
0.7.42013-09-18T03:03:35.417880ZDownload9457faeabbad83419fddb174cb43fa6b5c2da0f86a603b10a0992ea8e6f90859
0.7.52013-09-20T23:26:40.950510ZDownload42f7485e9ad5d0688d67fcf231705dd274f7bebfc5fd556e9ec9bec86ad55401
0.7.62013-09-27T14:56:24.866270ZDownload7f867aa92142066abb0ad5049b86181f301204a09b49e0e2b9e1e857510cfa43
0.7.6+42013-10-01T23:47:59.987350ZDownload5b9f7957520738ad28b09f428e2842e326b9c06e3ada6c78d797a66f36af6723
0.8.02013-10-03T16:26:41.497860ZDownload697ed096fd9b7d3b8055d09583dc673ba7b97f571ed59f65c389753c026f4976
0.8.12013-10-04T21:54:03.242430ZDownloade968f0eacbaeb957310b8b3f02122d59a1dfb2e38507072a41141e0dcfc4d8fa
0.8.22013-10-14T21:48:58.951160ZDownload726b3330ba0debe367b28bdb676770f9e0e7096ba19b12c393848a10da4f5417
0.8.32013-10-17T16:00:09.139430ZDownloadedb3980f16df475b202a297cb6a2411d9ab0b076537fca562a20e4b613aabc78
0.8.42013-10-19T21:08:27.928030ZDownload56ab5a3b2882845db8cd196c770c267f54d9df51bf84529fd29ee6b5a7b0551d
0.8.52013-10-21T15:50:08.398100ZDownload24a8f8d46f8a24430d94427222f7897ad63bfa28d98e5766c2ece0e36b39ffd6
0.8.62013-10-24T08:18:19.555090ZDownload6bcde9952c261b8b1d50c01aead70d87c3f39c9674913e0cf3d269159394e211
0.8.72013-10-28T14:31:53.056610ZDownload15a0b273af8f66ef18ba6dfff3f0d6c623654fcf8d85b39804a572993ad43c2d
0.8.82013-10-30T03:29:10.784170ZDownload96920f184965ef1e1d0c787a7149d1ca98bb24de4c20a567ee58e53676088b00
0.8.92013-10-31T15:15:31.680230ZDownload697c52c89d801cc4d5e01485b94bc98bbade3f7693776f2a3857be6b6b1b4ea6
0.8.102013-11-01T19:22:57.105440ZDownload9653a3ef3cce3d89e863e7b6645fd2c2d02d3c08a3a87e0738103d3586df7405
0.8.10+32013-11-04T16:48:44.797040ZDownloadbf12cd04689a739f5e38277bdf020fb6d114bab69de0a87f76c42b0ae5d3b1e5
0.8.10+42013-11-05T16:04:28.280240ZDownloadca1a381be03538f30ae2c75eddbf7a980cfce077cc046d4a6e1428cfb77d164e
0.9.0-dev+12014-12-09T17:49:25.302450ZDownloadcde682b77dad9ff7ba37e3f876c03d6ee039b50dc116b033d31a6ab5333e4fc9
0.9.02013-11-06T19:31:03.485800ZDownload0af4242dddc9363f35caca6c177bf515b3a670db369aeae16a67642625fe3675
0.9.12014-12-09T17:50:51.878920ZDownload33bec55dc9dd888b5a0d8c6aa85b3cc2001d09e661d82f49c1926045830171cc
0.9.1+22015-02-10T01:45:05.774760ZDownload0b6fe3e99bb8068f9f83718dc9b2f5a979f39aec8af6a9096e19fdfbc8a77423
0.10.22015-09-04T19:06:01.581ZDownload2f7c53627c260951d20464867e3ce7b4238604b8b0a0529b1ca94f6e2ec352c8
0.10.42016-04-21T17:17:56.179ZDownload45f110358eebaba142adc396f0df7a711ef060361ae050668725379451956ad2
0.10.52016-05-10T23:16:54.955ZDownload9224467e23adf287f96559459152df4b26b0249c4f89c2c7d8675361ba60ed44
0.10.62017-07-19T19:40:32.584580ZDownload716f606b26cca4be18b88e55504e784a6a348533ac6eb3f3356583daf5730122
0.10.72018-02-06T23:20:47.977486ZDownload899a41d88cb0a7d38ff06bb7fb70a45a1c343dac939fffe02a0d23e2306db059
0.10.82018-07-18T17:11:26.539747ZDownloadbe44a64e37c5559ba5ad9f8e471faf1ea73283ad72c9e35cbba1f98c18b2f007
0.10.92018-11-07T03:15:39.173989ZDownloadf8a7dd56a7f6099742eabeddcdcb1733dc787fac451d86f00dcc81e82e32b1d3
0.10.102019-10-28T23:24:05.399928ZDownload6498ef3184fbeee01409f0555829ebe44aa85242e7938115990ea0df5f4bbb09
0.10.112019-10-28T23:16:00.435217ZDownload3b298dacb1898a8f5fddec19388b899b0f13195066b89fa66391e5e92f6c2052
1.0.0-nullsafety.02020-11-10T16:36:57.335414ZDownload73b630ae67a700961c1d60b5cb7cf775cf22bf19b3d58cb30bfd27ed98256f5b
1.0.02021-02-05T19:04:14.438100ZDownload6a2ef17156f4dc49684f9d99aaf4a93aba8ac49f5eac861755f5730ddf6e2e4e
1.0.12022-05-12T18:00:57.280369ZDownload04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec
1.1.02023-01-30T20:51:22.749616ZDownload25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1
1.1.12024-10-16T08:12:32.914801ZDownloadb6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be

Dependencies

No direct dependencies declared.