mkieee.c(3)
π mkieee.c β bestie, we're making IEEE floats π
okay so this page lives in the Library Functions Manual section, and it's part of the NCEPLIBS-g2c crew, version 2.3.0. it's a C function page, iykyk. grab a strawberry π and let's get into it.
β¨ NAME β¨
mkieee.c β store a list of real values in 32-bit IEEE floating point format.
like. that's the whole job. take your cute little reals, convert them into IEEE 32-bit floats, done. no cap.
π SYNOPSIS π
#include 'grib2_int.h'
#include <math.h>
#include <stdlib.h>
πΈ Functions πΈ
void mkieee (float *a, g2int *rieee, g2int num)β store a list of real values in 32-bit IEEE floating point format.
π¦ Detailed Description π¦
Store a list of real values in 32-bit IEEE floating point format.
lowkey that's it. that's the vibe. π
- Author β Stephen Gilbert
- Date β 2002-10-29
- Definition in file
mkieee.c.
π Function Documentation π
π void mkieee (float * a, g2int * rieee, g2int num)
Store a list of real values in 32-bit IEEE floating point format.
β Parameters β
aβ input array of floating point values.numβ number of floating point values to convert.rieeeβ output array of data values in 32-bit IEEE format stored in ag2intinteger array.rieeemust be allocated with at least4*numbytes of memory before calling this function.
bestie listen. that last one is not a suggestion. allocate4*numbytes forrieeebefore you call this, or you're gonna have a bad time. π
- Author β Stephen Gilbert
- Date β 2002-10-29
- Definition at line 22 of file
mkieee.c.
π₯ References π₯
int_power()
π Referenced by π
aecpack_int()compack()g2_addfield()jpcpack_int()misspack()pngpack_int()simpack()specpack()
π«Ά Author π«Ά
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
and that's the whole page, bestie!! NCEPLIBS-g2c, Version 2.3.0 β¨ that's the source and the version, and the date on this whole thing is mkieee.c(3). go forth and convert your floats, you absolute icon. πππ¦πΈπ ππβ
π¦ where this page comes from
- ubuntu resolute: libg2c-dev 2.3.0-4 Β· LGPL-3.0-only
- ubuntu stonking: libg2c-dev 2.3.0-7 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms