This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [binVec, sign, exponent, mantessa] = ieee754(num,fmt) | |
% Converts a single/double precision floating point number to its | |
% bitvector representation. | |
% Usage : | |
% [binVec, sign , exponent, mantessa] = ieee754(X, fmt) | |
% | |
% X : single/double precision floating point number. | |
% fmt : target format, can be 'single' or 'double'. | |
% | |
% binVec : 32/64 bit binary vector. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# A Simple Bashrc for dev containers | |
clr_blk="\[\033[01;30m\]" # Black | |
clr_red="\[\033[01;31m\]" # Red | |
clr_grn="\[\033[01;32m\]" # Green | |
clr_ylw="\[\033[01;33m\]" # Yellow | |
clr_blu="\[\033[01;34m\]" # Blue | |
clr_mgn="\[\033[01;35m\]" # Purple | |
clr_cyn="\[\033[01;36m\]" # Cyan |