Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: OFF-TOPIC: little-endian vs. big-endian conversion
Date: Fri, 3 Apr 1998 10:51:26 -0700 (MST)	[thread overview]
Message-ID: <199804031751.KAA19078@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199804031727.MAA21921@adder.cs.Virginia.EDU> from "Greg Lindahl" at Apr 3, 98 12:27:53 pm

> 
> On the
> latest f2c libraries, it's 64 bits. You have to account for this.

It depends when they are coming from.  If they are from the current g77
then f2c.h defines there, correctly I would argue, Fortran 'integer'
type as 'int' - i.e. 32 bits.

One has to be careful with that.  An unfortunate result of living on a
"bleeding edge".  Defining 'integer' as 'long' in headers which came with
'f2c' tranlator is a bug resulting likely from an attempt to acommodate
MS-DOS machines.

I would do such conversion in question in Perl anyway. You are working
too hard if you attempt to use anything else for the task. :-)

  Michal


  reply	other threads:[~1998-04-03 17:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-03 17:27 OFF-TOPIC: little-endian vs. big-endian conversion Greg Lindahl
1998-04-03 17:51 ` Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-03 17:54 Greg Lindahl
1998-04-03 17:15 Janice McCarthy
1998-04-03 17:33 ` Uncle George
1998-04-03 17:54 ` Alvin Starr
1998-04-06 12:39 ` Mike Howard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox