Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to International chat echo - member...  <--  <--- Return to Home Page
   Networked Database  International chat echo - member...   [535 / 900] RSS
 From   To   Subject   Date/Time 
Message   ozznixon    mark lewis   Re: Name that compression...   March 30, 2019
 9:58 PM *  

On 2019-03-30 18:54:00 +0000, mark lewis -> Maurice Kinal said:
>
>
>                      integer types
>    Type      Range                                     Bytes
>    =========================================================
>    Longint   -2147483648 .. 2147483647                     4
>    Longword  0..4294967295                                 4

FYI ... this is why PCBoard used Microsft C's Single... signed long broke at
2.1 billion. Masking it to Single, allowed them to exceed it - however,
translators for other compilers could move bytes around from MS-Single ->
Pascal Real, but with a cap of 16,700,000 [as MSB defaulting to set in MS C's
storage limited it to 16.7 million].

Now, a trick I have been doing in the 16bit compiler is using 8 byte [double]
on disk storage - it is bit for bit compatible with 32bit compiler's Int64
(signed). [again MSB is not compatible - but ignoring it - I have ported PCB
RIME feeds for 18 years into a single file without corruption. But, RIME died
when CDC screwed everyone...

>
> Free Pascal does automatic type conversion in expressions where
> different kinds of integer types are used.
>
>                         real types
>    Type      Range                Significant digits   Bytes
>    =========================================================
>    Real      platform dependent       ???             4 or 8
>    Single    1.5E-45 .. 3.4E38        7-8                  4
>    Double    5.0E-324 .. 1.7E308     15-16                 8
>    Extended  1.9E-4932 .. 1.1E4932   19-20                10

FYI - talking with Florian and Jonas, Extended is not supported on Windows 10
64bit (per Microsoft). * I could not find reference to it, but, if Florian
tells me something of this nature, I accept it. I had to redesign a lot of
things that used to support Extended.

Ozz

-- 
.. Ozz Nixon
... Author ExchangeBBS (suite)
.... Since 1983 BBS Developer

--- FMail-W32 2.0.1.4
 * Origin: ExchangeBBS WHQ (1:275/362.0)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to International chat echo - member...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0917 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_iv2o99avji2tgcntf8hos37bv4, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_iv2o99avji2tgcntf8hos37bv4, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_iv2o99avji2tgcntf8hos37bv4, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0