]> Cypherpunks repositories - gostls13.git/commit
5c: implement uint32 -> float
authorRuss Cox <rsc@golang.org>
Mon, 25 Oct 2010 23:18:16 +0000 (16:18 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 25 Oct 2010 23:18:16 +0000 (16:18 -0700)
commit41b5fb47612d35606db29d5b740c5ea40b29a0c5
treea4670171cbaafa2159c4f2732cec059b457566d9
parent6e87a0abc93d91db7ac38d1470d152fd02611c80
5c: implement uint32 -> float

There are other missing conversion cases
still but they do not show up in my tests.
This one is needed for vlrt.c's _v2d (int64, uint64 -> float).

Thankfully, VFP has a single instruction to do this.

R=ken2
CC=golang-dev
https://golang.org/cl/2726041
src/cmd/5c/txt.c