MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / FPOne

Function FPOne

arch/arm64/disassembler/pcode.c:748–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746}
747
748uint64_t FPOne(bool sign, int N)
749{
750 // width should be 16, 32, 64
751 int E, F, exp;
752
753 switch (N)
754 {
755 case 16:
756 E = 5;
757 case 32:
758 E = 8;
759 default:
760 E = 11;
761 }
762
763 F = N - (E + 1);
764 exp = BITMASK(E - 1) << 1;
765 return (sign << (E - 1 + F)) | (exp << F);
766}
767
768uint64_t FPTwo(bool sign, int N)
769{

Callers 7

fadd_z_p_zsFunction · 0.85
fmax_z_p_zsFunction · 0.85
fmaxnm_z_p_zsFunction · 0.85
fmin_z_p_zsFunction · 0.85
fminnm_z_p_zsFunction · 0.85
fsub_z_p_zsFunction · 0.85
fsubr_z_p_zsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected