This so basic that it should work.... Any ideas would be appreciared. Using a number directly in the sqrt allows it to compile.
primrose > cat a.c
#include <stdio.h>
#include <math.h>
int main(void)
{
double abcd=9;
printf("%f\n",sqrt(abcd));
}
primrose > gcc a.c
Undefined first... (2 Replies)
png.4(4) File Formats png.4(4)NAME
png - Portable Network Graphics (PNG) format
DESCRIPTION
PNG (Portable Network Graphics) is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG pro-
vides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are
supported, and an optional alpha channel. Sample depths range from 1 to 16 bits.
PNG is designed to work well in online viewing applications, such as the World Wide Web, and is fully streamable with a progressive display
option. PNG is robust, and provides both full file integrity checking, and fast simple detection of common transmission errors. PNG can
store gamma and chromaticity data for improved color matching on heterogeneous platforms.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpng |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO libpng(3), zlib(3)
PNG 1.2 specification, July 1999: http://www.libpng.org/pub/png or ftp://ftp.uu.net/graphics/png/documents
PNG 1.0 specification, October 1996: RFC 2083 ftp://ds.internic.net/rfc/rfc2083.txt or as a W3C Recommendation at http://www.w3.org/TR/REC-
png.html
NOTES
This man page was originally written by Glenn Randers-Pehrson. Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.10 26 Mar 2004 png.4(4)