As the title says, I'm trying to print a float value in assembly mips. I'm not facing any errors, it's just that the value that ends up showing on the console is not the same one that I put when writing the program. Here's my code:
.data
PI: .float 3.14
.text
main:
li $v0, 2
lwc1 $f12, PI
syscall
li $v0, 10
syscall
The console shows 3.14000010 after executing this. Is there anyway I can fix this, or is there something I'm missing? Thank you.