mkieee.c(3)

πŸ“¦
version 2.3.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 a g2int integer array. rieee must be allocated with at least 4*num bytes of memory before calling this function.
bestie listen. that last one is not a suggestion. allocate 4*num bytes for rieee before 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