00001 /* 00002 Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. 00003 All rights reserved. 00004 00005 This file is part of the VLFeat library and is made available under 00006 the terms of the BSD license (see the COPYING file). 00007 */ 00008 00009 #include <vl/generic.h> 00010 #include <vl/mathop.h> 00011 00012 int 00013 main(int argc VL_UNUSED, char** argv VL_UNUSED) 00014 { 00015 VL_PRINTF ("Double NaN : `%g'\n", VL_NAN_D ) ; 00016 VL_PRINTF ("Double Inf : `%g'\n", VL_INFINITY_D) ; 00017 VL_PRINTF ("Double - Inf : `%g'\n", - VL_INFINITY_D) ; 00018 VL_PRINTF ("Single NaN : `%g'\n", VL_NAN_F ) ; 00019 VL_PRINTF ("Single Inf : `%g'\n", VL_INFINITY_F) ; 00020 VL_PRINTF ("Single - Inf : `%g'\n", - VL_INFINITY_F) ; 00021 00022 VL_PRINTF ("Double: 0.0 < VL_INFINITY_D: %d\n", 0.0 < VL_INFINITY_D) ; 00023 VL_PRINTF ("Double: 0.0 > - VL_INFINITY_D: %d\n", 0.0 > - VL_INFINITY_D) ; 00024 00025 return 0 ; 00026 }