mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 01:54:04 +09:00
av fuck
This commit is contained in:
@@ -23,6 +23,8 @@ class Float16() {
|
||||
bits = Float16.fromFloat(fval)
|
||||
}
|
||||
|
||||
// operators are stripped: you don't calculate from FP16; this is only for storing values //
|
||||
|
||||
companion object {
|
||||
fun toFloat(hbits: Short): Float {
|
||||
val hbits = hbits.toInt().and(0xFFFF)
|
||||
|
||||
Reference in New Issue
Block a user