Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 28, 2024
1 parent 6bd7869 commit d44110c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ convert_max_signed_int_to_bit()
'2147483647') printf '%s\n' '32-bit' ;; # Standard 32-bit limit
'32535215999') printf '%s\n' "64-bit (with limit: ${1})" ;; # 64-bit 'date' limited by the OS (likely under Windows)
'32535244799') printf '%s\n' '64-bit (limited by Windows localtime function)' ;; # 64-bit 'date' limited by the OS (likely on BusyBox under Windows)
'4294967295') printf '%s\n' "32-bit unsigned" ;;
'67767976233529199') printf '%s\n' '64-bit (limited by tzcode bug - 3600)' ;; # 64-bit 'date' limited by the OS - 3600 for timezone diff. (likely on Bash under Windows)
'67767976233532799') printf '%s\n' '64-bit (limited by tzcode bug)' ;; # 64-bit 'date' limited by the OS (likely on Bash under Windows)
'67768036191673199') printf '%s\n' '64-bit (limited by 32-bit tm_year of tm - 3600)' ;; # 64-bit 'date' limited by the OS - 3600 for timezone diff. (likely under Linux)
Expand Down

0 comments on commit d44110c

Please sign in to comment.