I'm trying to bit shift 63 places to the left. I keep getting an "expression must have an integral or unscoped enum type. I'm fairly new to C++ so I'm sure it's something very simple.
#include <iostream>
using namespace std;
int sign_bit(double x){
double temp = x << 63; // this is the line that is throwing the error
int return_value = reinterpret_cast<int>(temp);
return return_value;
}
int main(){
double n = -1.00;
double p = 1.00;
return 0;
}