summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/test_isinf.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-08-10 19:38:31 +0530
committerBrijeshcr2017-08-10 19:38:31 +0530
commitdcfc88991cdfa7f8e53607094e8d26cae399b78e (patch)
tree477aa36aee917771677bbd6500fc57ca353f4d4f /2.3-1/demos/Brijesh_Demos/test_isinf.sci
parent60dc24077bf42ddf1b8973915350dfabdf5b040a (diff)
downloadScilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.tar.gz
Scilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.tar.bz2
Scilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.zip
Added Gamma, gammaln, beta, isinf, ndgrid and range
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_isinf.sci')
-rw-r--r--2.3-1/demos/Brijesh_Demos/test_isinf.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_isinf.sci b/2.3-1/demos/Brijesh_Demos/test_isinf.sci
new file mode 100644
index 00000000..59be9759
--- /dev/null
+++ b/2.3-1/demos/Brijesh_Demos/test_isinf.sci
@@ -0,0 +1,6 @@
+function test_isinf
+ disp('Datatype: Double');
+ i1 = %inf;
+ o1 = isinf(float(i1));
+ disp(o1);
+endfunction