delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Date: | Mon, 02 May 2011 02:35:10 +0000 |
Subject: | Ram to file |
Message-ID: | <awqml6x9f7gb99pvytu81y7m.1304303710698@email.android.com> |
From: | Gs <sterten AT aol DOT com> |
To: | djgpp AT delorie DOT com |
MIME-Version: | 1.0 |
x-aol-global-disposition: | G |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; |
s=20110426; t=1343644950; | |
bh=0eCZkLkhvhLfkDgyorWc9iAHFP4iNEM9C6WJlE3O6So=; | |
h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; | |
b=j9FgblY8FmPhntXKS439ozxydBewQG+A9a792TmGSBoEnJ0E2zUulAQsrbGQQNjq+ | |
SSqYm/ThV62y/02+hNLS6zSXIxXoTPFo2dN3N71VPTF4j7XmcFDj1wd/KSo8kJjoZh | |
DKgIUfNgV9luYss0qBq5ZBwdeTA36Wogw/v+E+qw= | |
X-AOL-SCOLL-SCORE: | 0:2:179082640:93952408 |
X-AOL-SCOLL-URL_COUNT: | 0 |
x-aol-sid: | 3039ac1d33c3501665151131 |
X-AOL-IP: | 87.154.155.146 |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id q6UAqrkQ017811 |
Reply-To: | djgpp AT delorie DOT com |
Need a program to write the entire ram to a ffile on tthe hhd Eli Zaretskii <eliz AT gnu DOT org> schrieb: >> From: "K.J.Williams" <lordwilliams1972 AT gmail DOT com> >> Date: Sun, 29 Jul 2012 19:51:27 -0700 (PDT) >> Cc: djgpp AT delorie DOT com >> >> if long double is legal in C.....(I don't recall this in the C99) > >Of course, it is! > >> That actually would have to be : >> >> int main(void) >> { >> long double foo; >> printf("size of long double = %d\r\n", sizeof(foo)); >> >> return 0; >> } > >And the difference between this and my program is...? > >> long double would have to be defined in limits.h > >??? Primitive data types are never declared in any header, let alone >limits.h. > >If you mean the largest and the smallest value of long double, then >you have this in float.h: > > #define LDBL_DIG 18 > #define LDBL_EPSILON __dj_long_double_epsilon > #define LDBL_MANT_DIG 64 > #define LDBL_MAX __dj_long_double_max > #define LDBL_MAX_10_EXP 4932 > #define LDBL_MAX_EXP 16384 > #define LDBL_MIN __dj_long_double_min > #define LDBL_MIN_10_EXP (-4931) > #define LDBL_MIN_EXP (-16381)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |