remove register specifier, deprecated in C++11
This commit is contained in:
parent
4688f896f9
commit
1a189b3400
@ -135,9 +135,9 @@ namespace detail
|
|||||||
// of float and half (127 versus 15).
|
// of float and half (127 versus 15).
|
||||||
//
|
//
|
||||||
|
|
||||||
register int s = (i >> 16) & 0x00008000;
|
int s = (i >> 16) & 0x00008000;
|
||||||
register int e = ((i >> 23) & 0x000000ff) - (127 - 15);
|
int e = ((i >> 23) & 0x000000ff) - (127 - 15);
|
||||||
register int m = i & 0x007fffff;
|
int m = i & 0x007fffff;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Now reassemble s, e and m into a half:
|
// Now reassemble s, e and m into a half:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user