Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-08-26 06:15:45
Size: 648
Editor: SheenaSmith
Comment: create page, add content (8/23 changeset 4865)
Revision 2 as of 2013-08-07 22:38:14
Size: 618
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 5:
Use this function to swap byte order. Use this function to swap the byte order of a floating point value.
Line 17: Line 16:
||'''x'''||the data to be swapped|| ||'''x'''||the value to be swapped||
Line 20: Line 19:
Returns the swapped data.  ??? Returns the swapped value.

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.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryEndian

None: SDL_SwapFloat (last edited 2013-08-07 22:38:14 by Sam Lantinga)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit