host to network byte order for floats, and float32_t?
host to network byte order for floats, and float32_t?
- Subject: host to network byte order for floats, and float32_t?
- From: Warwick Hall <email@hidden>
- Date: Mon, 25 Apr 2005 09:29:28 +1000
Newbie question 1:
There are ntohl htonl ntohs htons functions that translate between host
and network byte order for integer variables. Is there a need to worry
about network byte ordering for floating point numbers such as float or
double?
Newbie question 2:
Also there are commonly defined integer value types like uint32_t or
int16_t (usually in stdint.h). Is there a float32_t (for float) or
float64_t (for double)?
Regards,
Waz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden