[petsc-dev] sor smoothers

Jed Brown jedbrown at mcs.anl.gov
Sun Sep 8 15:57:30 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:

> #if (PETSC_SIZEOF_LONG_LONG == 8)
> typedef long long Petsc64bitInt;
> #elif defined(PETSC_HAVE___INT64)
> typedef __int64 Petsc64bitInt;
> #else
> typedef unknown64bit Petsc64bitInt
> #endif
>
>   I assume all machines support one or the other of these ?
>
>   Should we introduce an unsigned version of this Petsc64bitUInt, for these type of things?

Fewer typedefs would be nice if we can get away with it.  Where is
stdint.h NOT supported?  AFAIK, it is only missing on quite old versions
of MSVC, and there is a portable implementation that can be dropped in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130908/8cf7b216/attachment.sig>


More information about the petsc-dev mailing list