SDL Wiki

SDL_SwapFloat

Use this function to swap the byte order of a floating point value.

Syntax

float SDL_SwapFloat(float x)

Function Parameters

x

the value to be swapped

Return Value

Returns the swapped value.

SDL_SwapFloatBE
SDL_SwapFloatLE

CategoryAPI, CategoryEndian


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.