Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What do cvttss2si?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Einhuhn
Cheater
Reputation: 0

Joined: 06 Apr 2022
Posts: 44

PostPosted: Tue May 28, 2024 9:58 pm    Post subject: What do cvttss2si? Reply with quote

Can anyone explain me this?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Tue May 28, 2024 11:20 pm    Post subject: Reply with quote

It converts floats to 4-byte or 8-byte integers

CVTTSS2SI - Convert w/ Truncation Scalar Single to Signed Integer
"Convert" means you're converting one type of data to another
"Scalar" means only one value (xmm registers can store several values at once)
"Single" is a float
"Signed integer" is a 4-byte or 8-byte signed integer
"Truncation" means you just get rid of the decimal point
e.g. (float)4.9 becomes (int)4, (float)-7.3 becomes (int)-7

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites