long double literal

I

Ioannis Vranos

Do we designate a long double literal using an L after a floating point
literal, in the style:


long double d= 543.4545L;
 
I

Ioannis Vranos

Walter said:
Unless it got revoked in C95 ;-) I pulled the information from C89.

OK, thanks. AFAIK, C95 didn't revoke anything, bug fixes and 3 new
standard header files in summary.
 
F

Falcon Kirtaran

Ioannis said:
Do we designate a long double literal using an L after a floating point
literal, in the style:


long double d= 543.4545L;

I have used a lowercase l for this.
 
M

Micah Cowan

Falcon Kirtaran said:
I have used a lowercase l for this.

That's not a great idea, given that l and 1 look very very similar in
many fonts commonly used for viewing program sources.
 
S

santosh

jaysome wrote:

<snip>

What a complete turnaround WRT your sig. You used to fervently tout
Vista, what happened?
 
R

Richard Heathfield

santosh said:
jaysome wrote:

<snip>

What a complete turnaround WRT your sig. You used to fervently tout
Vista, what happened?

Presumably, Vista happened.
 
C

CBFalconer

Randy said:
Richard Heathfield wrote

Yeah, but to go to Ubuntu, it must have caused brain damage when
it did.

Well, that is one of the known prime effects of Vista. It is
simply the culmination of Microsoft efforts so far.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top